Exploring CSS Grid’s Implicit Grid and Auto-Placement Powers
When working with CSS Grid, the first thing to do is to set display: grid
on the element that we want to be become a grid container. Then we explicitly define the grid using a combination of grid-template-columns
, grid-template-rows
…