Add Superpowers to Your CSS Variables with Style Queries | That HTML Blog

March 12, 2024

We’re on the verge of yet another CSS revolution with the arrival of style queries. If you’ve ever thought:

“Yeah, variables are cool and all, but it’s a bummer I can only use them to set one property at a time”

or

“Wow, I wish I could style this whole layout differently based on a CSS variable I set with a media query…”

then your dreams are about to come true!

Source: Add Superpowers to Your CSS Variables with Style Queries | That HTML Blog

So much happening in the World of CSS.