Why do grid items not stretch to fill the container width?
By default, grid items stretch inside their cells, but the container width depends on grid-template-columns. If columns are narrow, items stay narrow. See step 2 where column widths are set.
💡 Set grid-template-columns to control container width distribution.
Why is there space between grid items even without margin?
The gap property adds space between grid cells, not margin on items. This is shown in step 3 where gap creates visible spacing.
💡 Use gap to add consistent spacing inside grid container.
Why does adding border and padding not change grid layout?
Border and padding affect container box size and appearance but do not change grid cell sizes or item placement. Step 4 shows border and padding added after layout.
💡 Borders and padding decorate container but grid layout is controlled by grid properties.