DEV Community

Calvin
Calvin

Posted on

Reading Snippets [36 => Grids]

If there are more grid items than cells in the grid or when a grid item is placed outside of the explicit grid, the grid container automatically generates grid tracks by adding lines to the grid.

A fixed number of lines and tracks that form a grid can be defined by using properties, grid-template-rows, grid-template-columns, and grid-template-areas, are known as

Source:CSS Tricks

Discussion (0)