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.
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 sourceThe three things worth knowing
Safari became the first browser to support the CSS random() spec in late 2025.
The CSS random() spec is an editor's draft in early exploration, with major breaking changes expected.
The author is building a css-random-polyfill package to make the feature work in all browsers.
THE CLUSTER
↗