CSS Grid - Using line names

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI22 min

About this video

Kevin Powell shows how to name CSS Grid lines to place items on a grid more easily than with line numbers, building a simple layout as an example. He also notes that Sass does not currently compile named lines.

What you’ll learn

  • Name CSS Grid lines to place items by name
  • Place layout items on a grid using named lines
  • Work around Sass limitations when naming grid lines