odin-default-css-exercises/grid/02-grid-layout-2
Mmackz fa7b2e4ef6
Change intro in readme.md
Remove the wording "It is easy" or "This is easy" from the description. This may be somewhat demotivating to someone who may be having a difficult time with these concepts.
2022-03-25 13:31:19 -07:00
..
solution Add indents to <body> and <head> tags in all exercises 2022-01-30 12:16:13 -06:00
README.md Change intro in readme.md 2022-03-25 13:31:19 -07:00
desired-outcome-narrow.png Reduce image more 2022-01-12 17:24:06 -05:00
desired-outcome-wide.png Resize images 2022-01-12 17:20:06 -05:00
index.html Add indents to <body> and <head> tags in all exercises 2022-01-30 12:16:13 -06:00
style.css Update CSS to match first exercise simplified version 2022-01-12 17:07:40 -05:00

README.md

Responsive Holy Grail Layout with Grid

For this exercise, we are going to take our Holy Grail Layout from the first exercise and make it responsive. To do this we will simply change our fixed track sizes to be dynamic. Consider this a warmup for the next exercise and make sure your layout is responding properly when resizing the browser window.

Hints

  • You only need to add to the CSS selectors
  • Use dynamic track sizes for your columns and rows

Desired Outcome

When the browser is narrow:

desired outcome narrow

When the browser is stretched wide:

desired outcome wide

Self Check

  • The gap is 15px
  • The grid has two columns
  • The grid has four rows
  • The grid tracks do not use static sizes (no pixels!)
  • The second column is three times larger than the other
  • The third row is five times larger than the others
  • The rows and columns stretch wider when making the browser window bigger
  • The rows and columns stretch taller when making the browser window smaller