Purpose of grid-column and grid-row in CSS Grid
The grid-column and grid-row properties in CSS Grid define where an item is placed within the grid and how many tracks (columns or rows) it spans. They control an element’s start and end positions on the grid lines, allowing precise layout control.
grid-column determines the horizontal position and width (number of columns) of a grid item.
grid-row determines the vertical position and height (number of rows) of a grid item.
Both properties use the syntax start / end, where you can specify line numbers or the span keyword.
You can use shorthand properties like grid-column: 1 / span 2; to make an item start at line 1 and span across 2 columns.