August 5, 2019

Can you nest @media and @support queries?

Yes, you can, and it doesn’t really matter in what order. A CSS preprocessor is not required. It works in regular CSS. This works: @supports(--a: b) […]
April 12, 2019

Get a CSS Custom Property value with JavaScript

CSS Custom Properties are handy for making highly configurable CSS components and themes, but that’s not their only handy use. Sometimes you might want to do […]