Creating a Grid Container
To create a grid container, you use the display: grid property on the parent element. This establishes a grid formatting context for its child elements.
Set display: grid on the container element.
Define rows and columns using grid-template-columns and grid-template-rows.
Optionally, use gap to control spacing between grid items.
Use grid-auto-flow to control how additional items are placed in the grid.