Render Flow - Grid gap
Parse CSS selectors
Match .container element
Apply display: grid
Create grid container
Place grid items
Apply grid-gap spacing
Calculate layout
Paint grid and gaps
Composite final image
The browser reads CSS, finds the grid container, places items in a grid, then applies the gap spacing between rows and columns before painting the final layout.