Uncurated
Published in

Uncurated

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

Positioning content inside the main container

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

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Emily Y Leung

Emily Y Leung

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