Creating a nice layout CSS Grid layout using grid template areas

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI35 min

About this video

A hands-on CSS Grid tutorial showing how to build a page layout with grid-template-rows, grid-template-columns and grid-template-areas, then combine them into the grid-template shorthand. It also shows a card with a nested grid and notes how media queries can make the layout responsive.

What you’ll learn

  • Lay out a page using grid-template-areas
  • Combine rows, columns and areas with grid-template
  • Nest a grid inside a card layout