CSS Grid Explorer
Grid lets you define columns and rows at the container level. Items snap into those tracks automatically. Float and flexbox both require manual width math when items need to span columns. Grid doesn't.
Pick a column template, adjust the gap, and click any item to control how many columns it spans. The CSS output updates as you go.
Spanning columns means manual width math per item. Change the column count and every width has to be recalculated.
Flexbox is 1D. Making an item span multiple columns means forcing flex-basis — the columns still drift if the container resizes.
grid-column: span 2 snaps to the defined tracks. Change the column count in one place — all spans adjust. No math.
grid Browser Support
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2017.
Safe to use without fallbacks.