Skip to main content

On This Page

CSS Gap Decorations, random() Experiments, and select field-sizing: What's New in CSS

3 min read
Share

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 gap in 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