Relative Content

Tag Archive for cssw3ccss-variablescustom-properties

Update CSS variable value or assign another variable to its key

In CSS, I want to establish good practices about state variants on a css tag. (I’m in a Design System context, so it’s a simplified example but a lot of variants are declared in each to component to handle the custom properties as like a component style API: you can change at high-level component variables values and all is updated in cascade).