Frontend
July 15, 2026
1 views
2 min read

What’s !important #14: Gap Decorations, random(),field-sizing, and More

Curated by Patrick
Source: CSS-Tricks
What’s !important #14: Gap Decorations, random(),field-sizing, and More
Tech Daily Byte Analysis

This week the front‑end community saw several concrete milestones. Firefox 152 finally promoted the field-sizing: content property to baseline status, letting <select> elements automatically match the width of their chosen option and overriding the size attribute’s default list‑box behavior. Meanwhile, Chrome 150 is slated to ship later today, promising to keep pace with Firefox’s push. On the demo side, Heydon Pickering’s Hyperblam leverages Web Components and the Web Audio API to compose music without JavaScript, while Layoutit’s CSS Quake recreates the classic 1996 shooter entirely in CSS, echoing the earlier CSS DOOM release. Temani Afif illustrated how the new gap‑decoration syntax can style the whitespace between flex, grid, or column tracks, and Polypane pushed the still‑experimental random() function—currently only Safari‑enabled—into a suite of visual tricks ranging from bokeh to animated auroras.

These releases sit within a broader push to make CSS a full‑featured design language rather than a layout shim. The convergence of theming primitives such as @property, light‑dark(), contrast‑color(), and @container style()—all now baseline—means designers can encode dark‑mode, contrast‑aware palettes, and container‑based responsiveness without JavaScript. The surge of CSS‑only games and audio demos underscores a competitive narrative: browsers vie for developer loyalty by expanding native capabilities, while the community experiments to expose the limits of what pure CSS can achieve. Safari’s lone support for random() highlights the fragmentation that still exists, but also creates a testing ground for future cross‑browser adoption.

Looking ahead, the practical uptake of these features will hinge on three factors. First, developers must assess the performance impact of heavy CSS calculations, especially on low‑end devices. Second, the disparity in support—Safari‑only random(), Firefox‑only field‑sizing baseline—could force fallback strategies that dilute the intended experience. Finally, the upcoming Chrome 150 release may introduce competing implementations or deprecations, so monitoring Chrome’s release notes will be essential to avoid surprise regressions in production code.

Key Takeaways

Firefox 152’s baseline field-sizing: content enables fluid <select> widths and overrides list‑box sizing, simplifying form layouts.

Chrome 150’s imminent launch signals continued parity battles with Firefox over native CSS enhancements.

Gap‑decoration syntax now allows designers to style the whitespace between layout tracks, expanding visual control without extra markup.

Safari remains the sole browser supporting random(), making it a niche but influential testbed for future CSS randomness features.

About the Source

This analysis is based on reporting by CSS-Tricks. Here is a short excerpt for context:

I know you’re busy, so for What’s !important #14, I’ll be sprinting through what’s been a stacked couple of weeks despite few browser updates. From CSS Quake to CSS Gap Decorations, this isn’t one to miss! What’s !important #14: Gap Decorations, random(),field-sizing, and More originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.
Read the original at CSS-Tricks

More in Frontend