variables on css code example
Example: variables css
:root {
--main-bg-color: brown;
}
.uno {
color: white;
background-color: var(--main-bg-color);
margin: 10px;
width: 50px;
height: 50px;
display: inline-block;
}
:root {
--main-bg-color: brown;
}
.uno {
color: white;
background-color: var(--main-bg-color);
margin: 10px;
width: 50px;
height: 50px;
display: inline-block;
}