ELSEIF
Your brief EB
394 stories from 147 feeds 777 clusters Refreshed 4 minutes ago next pull 03:23

WEB Signal 335

CSS random() polyfill aims to bring Safari-only feature to all browsers

A developer is building a polyfill for the CSS random() function, which currently only works in Safari, to make it available across all browsers.

WHY IT MATTERS

For front-end engineers, CSS random() offers a declarative way to add controlled randomness to layouts, reducing reliance on JavaScript. A polyfill would make this feature usable across browsers, but the spec is still in early draft and subject to breaking changes, so adopting a polyfill carries maintenance risk.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

Safari became the first browser to support the CSS random() spec in late 2025.

02

The CSS random() spec is an editor's draft in early exploration, with major breaking changes expected.

03

The author is building a css-random-polyfill package to make the feature work in all browsers.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
CSS-Tricks Let’s Use the Emergent CSS random() Function in all the Browsers Open ↗