</>HTML & CSS News
LatestAuthorsRSS
Tag

#css-functions

Tagged “css-functions”

1 article
CSS & layout

CSS random() remembers its roll, and the cache key decides when

On Piccalilli, Mat Marquis builds randomly rotated sidenotes with CSS random() and explains how the function's seed and cache key are scoped. That scoping is why a sidenote keeps the same rotation across breakpoints instead of re-rolling.

Nov 21, 2026 · Iris Calderón
</>HTML & CSS News

Independent web-platform news — concise, vendor-neutral takes on HTML, CSS, accessibility and the browsers that ship them.

About

Latest newsAuthorsRSS feedSitemap