Kevin Powell walks through using CSS style queries to change styling based on another style value, including a locally scoped custom property fix and the current limitations of style queries. It is aimed at front-end developers who already know CSS.
What you’ll learn
✓Apply a locally scoped custom property to fix a styling problem
✓Use style queries to adapt CSS based on other style values
✓Identify the current limitations of style queries in browsers