CSS has if() now..element {Set
background: if(
style(--status: online): #16A34A;
style(--status: away): #F59E0B;
else: #9CA3AF
);
}--status on the element and the color follows.
— via Marco Denic
Notes
Short stuff: links worth keeping, things I learned, and half-formed thoughts — all in one stream.