Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

add css variables without global

div {
  --color: #fff;
}

div .child {
  color: var(--color);
}
Source by torquemag.io #
 
PREVIOUS NEXT
Tagged: #add #css #variables #global
ADD COMMENT
Topic
Name
6+5 =