#random
Tagged “random”
3 articlesCSS random() puts a little deliberate mess back into your layout
In Smashing Magazine, Brecht De Ruyte works through the native random() function from CSS Values and Units Level 5 with demos of jittered letters, bouncing type and splayed cards, and draws a clear line around where randomness does not belong. He reports that Safari shipped it first, Chrome 156 is rolling it out, and Mozilla has sent positive signals about Firefox.
Oct 20, 2026 · Dex HalloranCSS & layoutA polyfill for CSS random(), while the browsers catch up
Lee Meyer's walkthrough on CSS-Tricks builds a polyfill for the emergent CSS random() function so authors can start using it — and get fluent in its caching keywords — before every engine ships.
Sep 9, 2026 · Iris CalderónBrowser releasesSafari Technology Preview 251 lands @supports at-rule(), random() with caching, corner-shape and object-view-box
WebKit's 26 August preview adds an at-rule test to @supports, property-scoped caching on random(), the random-item(), ident() and inherit() functions, the corner-shape and object-view-box properties, comma-separated @container conditions, white-space-trim in the white-space shorthand, and HighlightRegistry.highlightsFromPoint().
Sep 7, 2026 · Iris Calderón