Skip to content

How to dedeclare a variable and use it in CSS?

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

body { 
  color: var(--text-color); 
} 
See also  PHP code snippet - How to split string into array ?

Leave a Reply

Your email address will not be published.

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