Creating a nice layout CSS Grid layout using grid template areas
Continuing my dive into the CSS Grid, this week I take a look at grid template areas, and how they make laying out a design SUPER intuitive. I first set up my layout using gridtemplaterows, gridtemplatecolumns, and then finally gridtemplateareas. Following that up with a simple card with another grid inside the layout, I then take a look at how we can combine all three of those properties into the single gridtemplate property. Honestly, grid template is a bit of magic and it makes me happy. Here is the Codepen from where I started if you want to follow along: And here is the finished layout on CodePen: Hopefully once you re done with this video, as well as my previous one where I looked at namin. .., HTML, CSS, Howto, Webdevelopment, tutorial, webtut, webtutorial, KevinPowellweb, CSSgrid 20170816 v5KzBPUEgGQ
|