Answers for "how to change css global variable"

CSS
1

add css variables without global

div {
  --color: #fff;
}

div .child {
  color: var(--color);
}
Posted by: Guest on January-08-2022

Browse Popular Code Answers by Language