CSS Grid Lanes ships in Safari 26.4 and runs behind a flag in Chrome, Edge, Firefox, and Opera. Learn the features, use cases, and known issues.

Prince Dewani
May 6, 2026
CSS Grid Lanes is a CSS Working Group layout mode that brings masonry and waterfall layouts to CSS Grid through display: grid-lanes. It ships fully on Safari 26.4 and iOS Safari 26.4, runs behind a flag on Chrome 140 to 150, Edge 140 to 147, Firefox 77 to 153, and earlier Safari 16.4, while Samsung Internet skips it.
This guide covers CSS Grid Lanes, the browsers that support it, the key features, the use cases, how to enable it with progressive enhancement, and the known issues.
CSS Grid Lanes is a CSS Working Group display mode that activates a masonry-style layout. The display: grid-lanes value reuses grid-template-columns and grid-template-rows so items pack into the lane that keeps content closest to the top. The CSS Working Group ships the spec inside CSS Grid Layout Level 3.
CSS Grid Lanes is on by default only in Safari 26.4 and iOS Safari 26.4. Every other engine either runs it behind a flag or skips it.
Chrome runs CSS Grid Lanes behind a flag from Chrome 140 to Chrome 150 on Windows, macOS, Linux, ChromeOS, and Android. Enable the Experimental Web Platform features flag at chrome://flags to switch it on. Chrome 4 to Chrome 139 did not support the property at all. The Chromium team is updating the implementation to match the finalized grid-lanes syntax.
Microsoft Edge follows Chromium and runs CSS Grid Lanes behind a flag from Edge 140 to Edge 147 on Windows, macOS, and Android. Toggle Experimental Web Platform features at edge://flags to switch it on. Edge 12 to Edge 139 did not support the property, and stable, unflagged Edge support has not landed yet.
Firefox runs an early masonry implementation behind the layout.css.grid-template-masonry-value.enabled flag from Firefox 77 to Firefox 153 on desktop and Android. Toggle the flag in about:config. Firefox 2 to Firefox 76 had no support. The current build still uses the older grid-template-rows: masonry syntax, and Mozilla is moving it to the display: grid-lanes value.
Safari supports CSS Grid Lanes by default from Safari 26.4 on macOS and iOS Safari 26.4 on iPhone and iPad. Safari 16.4 to Safari 26.3 had it behind Develop > Feature Flags > Experimental Features. Safari 3.1 to Safari 16.3 did not support the property. iOS Safari follows the same version timeline since both rely on the same WebKit engine.
Opera runs CSS Grid Lanes behind a flag from Opera 124 to Opera 125 on desktop. Opera 9 to Opera 123 had no support. Opera 127 and later regressed and currently do not support the property while the Chromium engine renames the masonry value to grid-lanes. Toggle the flag at opera://flags to enable it on the supported builds.
Samsung Internet does not support CSS Grid Lanes on any version from Samsung Internet 4 to Samsung Internet 29. The browser tracks Chromium and is expected to inherit support once Chrome flips the flag on by default in a stable channel.
The legacy Android Browser does not support CSS Grid Lanes. The stock browser stopped at Android 4.4 and never received any masonry layout work. Modern Android phones ship Chrome or Samsung Internet instead, and those engines control the support story.
Internet Explorer 6 to Internet Explorer 11 do not support CSS Grid Lanes. Microsoft has retired the engine, so no future support is planned. Sites that still target IE 11 must fall back to a JavaScript masonry library or a flexbox column layout.
Note: CSS Grid Lanes lands differently in Safari, Chrome, Edge, Firefox, and Opera. Test your masonry layouts on real browsers and OS with TestMu AI. Try TestMu AI free!
CSS Grid Lanes adds a single new display value plus one new property and reuses every other CSS Grid feature. The five points below cover what changes when you switch a container from display: grid to display: grid-lanes.
CSS Grid Lanes targets layouts that mix items of different heights or widths inside a single container. The five use cases below pull from the WebKit and CSS Working Group examples and from production patterns that previously relied on a JavaScript masonry library.
CSS Grid Lanes ships unflagged only in Safari 26.4 and iOS Safari 26.4, so production code has to wrap the new value in an @supports query and fall back to display: grid for every other browser.
/* Progressive enhancement for CSS Grid Lanes. */
.gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
gap: 1rem;
}
@supports (display: grid-lanes) {
.gallery {
display: grid-lanes;
flow-tolerance: 1em;
}
}CSS Grid Lanes is a young layout mode and the support gaps and quirks below catch teams that adopt it too aggressively.
All CSS Grid Lanes version numbers, syntax notes, and platform behaviors in this guide come from these primary sources:
Did you find this page helpful?
More Related Hubs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance