CSS Grid Alignment & Justification Without the Guesswork

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI13 min

About this video

Walks through CSS Grid alignment and justification properties, including align-items, justify-items, align-self, justify-self, align-content, justify-content, place-content and place-items. Aimed at developers building layouts with CSS Grid who want a clearer way to predict alignment.

What you’ll learn

  • Choose between align and justify properties when laying out a grid
  • Apply align-items, justify-items, align-self and justify-self to grid items
  • Use place-content and place-items to set alignment in fewer declarations