Safari 26.4 became the first browser to ship display: grid-lanes, the new official name for CSS masonry layouts after a multi-year debate at the CSS Working Group concluded. Jen Simmons and Brandon Stewart published the introduction to the feature on the WebKit blog on January 14, 2026, with the final flow-tolerance specification resolved on January 7. For a Webflow Partner building portfolio and case-study pages, where rectangular grids of variable-height cards leave the ugly gaps that drove everyone to JavaScript libraries like Masonry.js, Grid Lanes is the long-awaited native answer. This piece explains why the column-CSS hack is now actively wrong, walks through the @supports progressive enhancement pattern for Webflow Custom Code, and previews when Chrome and Firefox will catch up.
What Are CSS Grid Lanes and What Problem Do They Solve?
CSS Grid Lanes is a new value for the display property that produces a masonry-style layout. Unlike traditional CSS Grid, which fits items into a strict row-and-column matrix, Grid Lanes flows items into columns based on available space, producing the staggered gallery layout that Pinterest and many editorial sites have used for over a decade. The browser handles the column distribution natively without JavaScript.
The problem this solves is the persistent gap between what designers want for image-heavy galleries and what CSS could provide. Without Grid Lanes, achieving a Pinterest-style layout required either fixed-aspect-ratio cards, which broke when images had varying dimensions, or JavaScript libraries like Masonry.js, which added bundle weight and maintenance overhead. Grid Lanes does the same work natively in the browser with zero JavaScript and zero library dependencies.
For Webflow Partners building portfolio and case-study pages, the relevance is immediate. Most agency portfolios are exactly this layout, with project tiles of varying heights flowing into columns. Grid Lanes is the right native primitive for that pattern.
Why Is the Column-CSS Hack Now Actively Wrong?
The CSS columns property has been the most common workaround for masonry layouts in the absence of native support. Setting a parent to column-count: 3 produces visually similar output to a masonry layout. The hack has worked for years and remains technically functional in 2026.
The problem with the hack is DOM order. Column-based layouts read items top-to-bottom in each column, which means item 1 sits above item 2 in column 1, item 4 sits above item 5 in column 2, and so on. Screen readers traverse the DOM in source order. The result is that a screen reader user hears items in 1, 4, 7, 2, 5, 8, 3, 6, 9 order rather than 1, 2, 3, 4, 5, 6, 7, 8, 9. The visual layout looks fine but the experience for users with screen readers is broken.
Grid Lanes preserves DOM order. The browser flows items into columns left-to-right and top-to-bottom in source order, so item 1 sits in column 1 row 1, item 2 sits in column 2 row 1, item 3 sits in column 3 row 1, item 4 sits in column 1 row 2, and so on. The screen reader experience matches the visual experience. Sites built on the column hack should migrate as soon as Grid Lanes coverage is broad enough, because continuing the hack is now an active accessibility violation.
What Does Browser Support Look Like in May 2026?
Safari 26.4 shipped Grid Lanes with the final flow-tolerance specification in early 2026. Safari Technology Preview 234 had the initial implementation under the older display: masonry name. STP 236 renamed it to flow-tolerance after the spec resolved on January 7, 2026. Stable Safari 26.4 ships the renamed version.
Chromium and Firefox both have prototype implementations but have not shipped to stable channels as of May 2026. Chromium shipped display: masonry behind a flag in Chrome and Edge 140 in July 2025 and is updating to grid-lanes. Firefox had the original 2020 prototype implementation under display: grid; with grid-template-rows: masonry, also updating to grid-lanes. Both Chrome and Firefox have committed to shipping the renamed syntax but neither has a confirmed stable-channel date.
For Webflow client work, the practical implication is Safari first, others updating. Sites with Safari-heavy traffic can adopt now with a fallback. Sites with Chrome or Firefox-heavy traffic should wait until those browsers ship to stable, then adopt with confidence. The fallback pattern works for both cases.
How Do I Add Grid Lanes to a Webflow Site Today?
The pattern is progressive enhancement through @supports. The CSS sets a default fallback layout using regular CSS Grid with fixed-aspect-ratio cards. Inside an @supports block testing for grid-template-rows: masonry, the layout switches to display: grid-lanes for browsers that support it. Both layouts produce a working gallery. The Grid Lanes path produces the masonry effect natively. The fallback path produces a respectable rectangular grid.
For Webflow's Designer, the parent grid is set up normally with regular CSS Grid controls. The Grid Lanes upgrade lives in a Custom Code embed scoped to the gallery section. The class on the gallery container gets the @supports-wrapped Grid Lanes rule. The Designer continues to render the rectangular grid layout, which is the correct preview for Chrome browsers in early 2026. The masonry effect appears at publish time on Safari 26.4 and on other browsers as they ship support. I covered the related Custom Code discipline in my CSS Subgrid piece from yesterday.
Where Does Grid Lanes Fit in Case-Study and Portfolio Pages?
Three patterns where Grid Lanes earns its place on Webflow client work. Agency portfolios where each project tile has a different aspect ratio. Case study indexes where customer logo cards mix with screenshot cards in varying heights. Editorial article galleries with mixed image and pull-quote tiles. All three benefit from the masonry flow because the variable-height items pack tightly without the artificial whitespace that fixed-aspect-ratio grids produce.
The aesthetic is editorial rather than corporate. For B2B SaaS clients with strict brand systems that demand uniform card heights, Grid Lanes may be the wrong choice. The honest framing is that masonry layouts read as creative and editorial, which fits some brands well and others poorly. Webflow Partners should match the layout primitive to the brand expression, not impose masonry on every client because the technology is finally available. I covered the related design system discipline in my layered design tokens piece.
What Does the Flow-Tolerance Property Actually Control?
Flow-tolerance is the property that controls how the browser balances visual evenness against strict source order in Grid Lanes. A low flow-tolerance value strictly preserves source order, which can produce uneven column heights when items have very different sizes. A high flow-tolerance value allows the browser to skip ahead in the source order to balance the columns more evenly, at the cost of some source order disruption.
For most Webflow gallery layouts, the default flow-tolerance produces good visual results without compromising accessibility. For galleries with very heterogeneous item sizes, increasing flow-tolerance produces visibly more balanced columns. The trade-off is small but real. Designers should review the rendered output at typical viewport sizes before committing to a non-default flow-tolerance value. The decision should be made with the actual content, not based on theoretical reasoning. I covered the related design discipline in my asymmetric grid layouts piece.
How Does Grid Lanes Interact With Webflow's CMS Collection Lists?
Webflow CMS Collection Lists already support flexbox, grid, and masonry-via-Custom Code patterns. The integration with Grid Lanes is straightforward. The Collection List wrapper gets the display: grid-lanes property through Custom Code. The individual collection items render as the masonry tiles. CMS data drives the content, with Grid Lanes handling the layout natively.
For dynamic collections like blog post galleries or project listings, this is the cleanest pattern available in 2026. The CMS provides the data. Webflow renders the items. Grid Lanes lays them out. No JavaScript anywhere in the stack. The output is fast, accessible, and visually polished. For Partners managing client sites with frequently updated case study lists, the savings in maintenance time over a JavaScript masonry library are meaningful across a year of updates.
What Should I Test This Week to See If Grid Lanes Fits My Practice?
Pick one client site with an existing portfolio or case-study page that uses fixed-aspect-ratio cards. Add a Custom Code embed with the @supports-wrapped Grid Lanes upgrade. Open the site in Safari 26.4 and confirm the masonry effect renders. Open the same site in Chrome and confirm the fallback renders correctly. The test takes about 20 minutes and produces working code that ships to all visitors with appropriate degradation.
The deeper test is whether the masonry layout actually looks better than the existing grid for that client's content. For some content sets, the answer is clearly yes. For others, the existing grid is the right choice. The honest framing is that Grid Lanes is a new tool, not a default replacement for all gallery layouts. The decision rule is to evaluate the visual result against the brand expression, not to assume the new primitive is automatically better. I covered the related design system discipline in my CSS Subgrid piece from yesterday.
What Is the Honest Verdict on Grid Lanes for Webflow Client Work?
Grid Lanes is the right tool for editorial gallery layouts where variable-height items produce visual interest. It is the wrong tool for corporate brand systems that demand uniform card heights. The verdict for Webflow Partners is to add Grid Lanes to the toolkit but not to lead with it. The lead is the design problem the client has. Grid Lanes solves a specific class of that problem more cleanly than the alternatives.
For studios that have been using JavaScript masonry libraries on client work, the upgrade is mostly maintenance reduction. The same layout that took a 5-kilobyte JavaScript bundle to render now takes one CSS rule. For studios that have been using the column hack as a fallback, the upgrade is also an accessibility fix that closes the screen-reader DOM-order issue. Either way, the cost of learning Grid Lanes is roughly an hour and the benefit compounds across every editorial gallery the studio ships from this point forward. The WebKit blog post from January 14, 2026 covered the technical details well, and the spec resolution on January 7 closed the last design uncertainty. The technology is production-ready for Safari today and will be production-ready broadly across browsers in the coming quarters. I covered the broader CSS direction in my CSS Anchor Positioning tutorial from yesterday.
If you are running a Webflow practice and want to add Grid Lanes to one client portfolio page this week, drop me a line and tell me which client gallery has the most variable-height content today. Let's chat.
Get your website crafted professionally
Let's create a stunning website that drive great results for your business
Get in Touch
This form help clarify important questions in advance.
Please be as precise as possible as it will save our time.