Skip to content

How to dedeclare a variable and use it in CSS?

:root { 
  --text-danger: 16px; 
} 

body { 
  color: var(--text-color); 
} 
See also  Python code snippet - How to revert a list ?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.