CSS Grid (Part 16B)— CSS Grid Alignment + Centering

Positioning content inside the main container

Emily Y Leung
Uncurated
Published in
6 min readApr 26, 2021

--

Live dev notes taken throughout the CSS Grid course by Wesbos — cssgrid.io

Continuing on from part 1, we looked into the first 2 properties that helps us align and centre content in their grid cell. Here we will focus on the remaining 4:

Part 1

  • justify-items
  • align-items

Part 2

  • justify-content

--

--

Emily Y Leung
Uncurated

Creative. Problem solver. Learning programming in public | emilyyleung.github.io