Your browser doesn't support CSS's random()
function, so this page won't really work for you. Sorry!
random() Your browser doesn't support CSS's random()
function, so this page won't really work for you. Sorry!
This paragraph contains no small number of links to curious things, including readable news, weird origami, and opportunities for re-identification. If you need to be told what to do with links then you might already have missed the point: these links don't exist to be buttons to press so much as something you can hover over.
Try hovering these links: each should hue-rotate to a different colour!
This paragraph contains no small number of links to curious things, including readable news, weird origami, and opportunities for re-identification. If you need to be told what to do with links then you might already have missed the point: these links don't exist to be buttons to press so much as something you can hover over.
The a:hover selector needs to use element-scoped in its random() function, or else it generates the same random colour as it did for the un-hovered a selector.
Each li gets an element-scoped random background colour with a <dashed-indent> name. The same <dashed-indent> name is used to generate the text colour, which then gets hue-rotated between 170°-190° from the background colour to ensure good contrast despite both colours being random!
Here are ten blog posts I've written about CSS, in a random order:
This is probably annoying for keyboard users, because CSS-shuffling the order of interactive elements like links doesn't change their tabindex: try "tabbing through" the links and you'll see the selection outline jump up and down all over the place!
These words appear one at a time in a random order thanks to CSS randomised "offsetting" as a mechanism for staggering animations.
Flip the switch to watch the words appear!