CSS Gap Decorations, random() Experiments, and select field-sizing: What's New in CSS
• 3 min read
These articles are AI-generated summaries. Please check the original sources for full details.
What’s !important #14: Gap Decorations, random(), , now Baseline after Firefox 152 shipped two weeks prior, eliminates the common anti-pattern of hardcoding select widths.
Key Insights
- CSS Gap Decorations: Temani Afif demonstrated how to style the spaces created by
gapin flexbox, grid, and multi-column layouts using existing CSS techniques, a long-requested capability (CSS-Tricks, June 2026). - CSS random() experiments: Polypane created a bokeh effect, falling petals, an untidy stack of polaroids, a poem, and an animated aurora to showcase the
random()function, currently only supported in Safari (Polypane, June 2026). - field-sizing for ‘s width to its selected
- Modern CSS theming standards: Una Kravets explained how
@property,light-dark(),contrast-color(), and@container style()work together, all now Baseline (CSS-Tricks, June 2026). - Web Engines Hackfest 2026: Marina Aísa documented the two-day event in A Coruña, Galicia, focusing on web engines and standards discussions, including accessibility improvements for browsers (CSS-Tricks, June 2026).
Practical Applications
- Use case: A form with dynamic
Continue reading
Next article
Why Intent Prediction Needs More Than an LLM: A Behavioral AI Perspective
Related Content
Jan 15, 2026
CSS Developments: Anchor Positioning, @scope, and Web Platform Updates
New CSS features like anchor positioning and @scope have reached baseline support in Firefox and Chrome, improving web development workflows.
Read article
Dec 16, 2025
What’s !important #1: CSS News Roundup - Advent Calendars, Browser Updates, and More
The first 'What’s !important' summarizes recent CSS developments including HTMHell’s Advent Calendar, key browser feature releases, and a call to reduce JavaScript reliance.
Read article
Dec 9, 2025
CSS Wrapped 2025 | New Features in Google Chrome
Google Chrome shipped several new CSS features in 2025, including the Interest Invoker API and custom CSS functions.
Read article