Safari 26.4 ships Grid Lanes, native masonry layout in CSS
2026-03-24 · Publisher : Apple (WebKit) · Domain : Design, UX & UI
Safari 26.4 enables display: grid-lanes by default, while other browsers keep it behind a flag, which produces waterfall layouts without a JavaScript library.
What changes
- display: grid-lanes produces Pinterest-style waterfall layouts.
- The flow-tolerance property controls how readily an item switches lanes.
- Grid Lanes reuses CSS Grid track sizing.
- Safari 26.4 brings 44 features and 191 fixes, according to WebKit.
### Background On **24 March 2026**, the **WebKit** team detailed what is new in **Safari 26.4**. The headline feature is **CSS Grid Lanes**, the name chosen for masonry layout after lengthy debate in the CSS Working Group. ### Key facts - Enabled with `display: grid-lanes` (and `inline-grid-lanes`), for example with `grid-template-columns: repeat(auto-fill, minmax(200px, 1fr))`. - An extension of CSS Grid: same track sizing, explicit placement possible. - The **`flow-tolerance`** property controls how readily an item switches lanes to stay near the top; WebKit stresses its effect on reading order and keyboard navigation. - Web Inspector shows item order as an overlay. - Safari 26.4 brings **44 features, 191 fixes and one deprecation** in total, including name-only container queries, scroll-driven animations run off the main thread, and WebTransport. ### Why it matters Waterfall grids (galleries, catalogues, card boards) relied on JavaScript libraries that compute positions and hurt performance. A native solution built into Grid simplifies code and improves smoothness, as long as reading order is checked for accessibility. ### Takeaway Grid Lanes can be used now as progressive enhancement with `@supports`, keeping a standard grid for browsers that do not support it yet.
Links
Tags : CSS, Mise en page, Navigateurs