6 ms·
Setting the `content` of a pseudo-element (like :before) to a variable with a text value (--sale-text: '50% off!'). I update the value of `--sale-text` to chan
by texxtxxet 4y ago
Setting the `content` of a pseudo-element (like :before) to a variable with a text value (--sale-text: '50% off!').
I update the value of `--sale-text` to change all elements with that given classname to "25% off!" instead (for ex).