Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Increase specificity by specifying the selector twice. */
- :root:root { /* makes the properties immutable, cant be reassigned */
- --COLOR-PRIMARY: palevioletred;
- --COLOR-SECONDARY: mediumseagreen;
- }
- :root {
- --COLOR-PRIMARY: blue; /* WON't work as `:root:root` has higher specificity. :)
- }
Add Comment
Please, Sign In to add comment