Answers for "what is the use of root in css"

CSS
1

css use :root

:root {
        --bg-color: rgba(26, 26, 26, 1);
}
selector {
  background-color: var(--bg-color);
}
Posted by: Guest on August-26-2021

Code answers related to "what is the use of root in css"

Browse Popular Code Answers by Language