Chrome Gap Decorations | CSS layout separators arrive in Chromium
Chrome for Developers has announced that CSS gap decorations are now available in Chromium, giving designers a cleaner way to style the spaces between layout items. Published on May 15, 2026, the update brings visual rules to grid, flexbox, and multi-column layouts, reducing the need for borders, pseudo-elements, extra markup, or background tricks.
Chrome makes layout separators cleaner with native CSS gap decorations
Gap decorations solve a very practical layout problem. Web designers often need separators between cards, panels, columns, or rows, but traditional solutions usually depend on borders, pseudo-elements, extra wrappers, or carefully calculated background patterns.
For template creators, this is an exciting improvement because separators are everywhere: dashboards, pricing tables, article grids, settings panels, magazine layouts, calendars, menus, and editorial sections. When the browser can decorate gaps directly, the layout stays cleaner and the visual system becomes easier to maintain.
How CSS gap decorations work
The update extends rule-style decoration to more layout modes. Grid and flexbox containers can now use column-rule, while the new row-rule property handles horizontal gaps. The rule shorthand can also set both directions at once.
Chrome explains that these decorations are purely visual and do not affect the existing layout. That is important for web design because separators can be added without changing the structure of the HTML, which helps protect accessibility, responsiveness, and long-term maintainability.
New layout options for web templates
Gap decorations include several controls that make them useful for real interface design. Designers can vary rule width, style, and color across gaps, use repeat() syntax, control how decorations break at intersections, and decide how far rules are inset from the edges of the gap.
The feature also includes visibility controls such as rule-visibility-items, which can show rules only between adjacent items or across every gap. That is useful when working with responsive grids where empty spaces, wrapping items, or dynamic content can make old separator techniques fragile.
Rule width, color, and insets are animatable too. For designers, that opens the door to subtle hover states, dashboard accents, responsive section dividers, and interactive layout treatments without adding extra DOM nodes or custom JavaScript just to style separators.
Why it matters for modern CSS workflows
Chrome says gap decorations are available in Chrome and Edge starting with version 149. If the decorations are purely decorative, they can work well as progressive enhancement: unsupported browsers simply render the layout gaps without the visual rules.
For animetemplates, the practical takeaway is that CSS is becoming stronger for layout polish. Native gap decorations can make templates cleaner, reduce markup workarounds, improve accessibility, and give designers more expressive control over grids and flex layouts while keeping the structure of the page simple.
Daisuki's Take: What This Means for Web Designers
We see CSS gap decorations as a practical improvement for designers who want cleaner layout systems without adding unnecessary markup. The real value is that separators can now belong to the layout itself, making grids, flex sections, and multi-column designs easier to style while keeping the HTML structure simple.
For web designers and creative teams, this can improve how templates handle cards, pricing tables, dashboards, article grids, menus, and editorial sections. A design system can define visual rules for gaps more consistently, which helps maintain spacing rhythm and separator styles across responsive layouts.
The limitation is that this should still be treated as progressive enhancement. We need to test browser support, confirm that the layout remains readable without the decoration, and avoid using separators as the only way to communicate structure. Cleaner CSS can reduce technical friction, but hierarchy, accessibility, and visual balance still require human review.
Sources and Recommended Links
- Gap decorations: Now available in Chromium | Chrome for Developers (Official)
- CSS Gap Decorations Module Level 1 | CSS Working Draft
- CSS gap decorations now available | Microsoft Edge Blog (Official)