@jonathanschndr.deJonathan Schneider @jonathanschndr.de
2026-11-24 18:02 UTC
Firefox 161 ships CSS random(). I tried it on 12 identical <span>s, no JS: translate: random(0px, 480px) random(0px, 270px); background: hsl(random(0, 360, 30) 75% 60%); Each element gets its own values, the 3rd argument snaps the hue to steps of 30, and a reload rolls again. #CSS #webdev
1 picture (not shown on this phone): Screenshot of a test page rendered in Firefox 161 headless, dark background. Left panel "random(0px, 480px)": 12 dots s…
0 likes, 0 reposts, 1 replies
3 Next post4 More from @jonathanschndr.deBackBluesky home