It’s possible to position a grid item anywhere on a grid track. To do this, let’s specify some grid-template-columns
and grid-template-rows
, and to the grid items, we’ll pass grid-column
and grid-row
some numeric values.
css-place-grid-items-on-a-grid-using-grid-column-and-grid-row 123456