← Home · ↑ March 2019 · Bookmark #28100

DRY Switching with CSS Variables: The Difference of One Declaration | CSS-Tricks

This is the first post of a two-part series that looks into the way CSS variables can be used to make the code for complex layouts and interactions less difficult to write and a lot easier to maintain. This first installment walks through various use cases where this technique applies.
Saved on