CSS Grid and WordPress
summary
CSS Grid arrives as a concrete layout tool: use display: grid to define rows and columns with fractional units (fr), set fixed tracks (pixels) or flexible tracks, and control gaps without hacks. Browser support is already ~84% so progressive fallback via @supports works. Examples show auto-fit minmax for responsive galleries, named grid-template-areas for shuffling regions, overlapping items without negative margins, and a WordPress theme (underscores) using pure CSS—no JavaScript—producing predictable, two‑dimensional layouts.
AI-written summary · about
