Merge pull request #128 from LPRegen/grid-exercises

01 grid layout 1: Modify Self Check item on README.md
This commit is contained in:
Eric Olkowski 2022-01-30 22:47:50 -05:00 committed by GitHub
commit 2df021aa1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@
Now it's time to practice the Grid tools we've learned and create a layout that might seem familiar. We're going to make a Holy Grail Layout like the ones we created using Flexbox. The difference here is that we won't be relying on Flexbox for this exercise. We'll only be using Grid. You'll be able to see the benefits of Grid for yourself! Now it's time to practice the Grid tools we've learned and create a layout that might seem familiar. We're going to make a Holy Grail Layout like the ones we created using Flexbox. The difference here is that we won't be relying on Flexbox for this exercise. We'll only be using Grid. You'll be able to see the benefits of Grid for yourself!
### Hints ### Hints
- You only need to add to the CSS selectors - You only need to add to the CSS selectors
- Look back to the Creating a Grid lesson if you forget how to turn an element into a grid - Look back to the Creating a Grid lesson if you forget how to turn an element into a grid
- Use fixed track sizes (e.g. pixels) for your columns and rows - Use fixed track sizes (e.g. pixels) for your columns and rows
@ -12,10 +13,11 @@ Now it's time to practice the Grid tools we've learned and create a layout that
![desired outcome](./desired-outcome.png) ![desired outcome](./desired-outcome.png)
### Self Check ### Self Check
- The gap is 15px - The gap is 15px
- The grid has two columns - The grid has two columns
- The grid has four rows - The grid has four rows
- The first column is three times larger than the other - The second column is three times larger than the first
- The third row is five times larger than the others - The third row is five times larger than the others
- The header and footer elements span across both columns - The header and footer elements span across both columns
- The sidebar element only spans across the first column - The sidebar element only spans across the first column