CSS
grid-template-areas .grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; grid-template-areas:
gap: 20px; } @mbarker_84
“h “m “m “m
h m m m
h m m m
h” a” a” .”;
Slide 57
CSS
grid-template-areas header { grid-area: h; } main { grid-area: m; } aside { grid-area: a; }
@mbarker_84
Slide 58
CSS Grid for Complex Components A Case Study
@mbarker_84
Resources Grid by Example (Rachel Andrew) gridbyexample.com Layout Land (Jen Simmons) layout.land CSS Grid Playground (MDN) mozilladevelopers.github.io/playground/css-grid CSS { In Real Life } css-irl.info
Slide 126
Thank you for listening @mbarker_84 / @CSSInRealLife
@mbarker_84