css use variables for colors code example
Example: create variable in css
:root {
--tab-count: 5;
}
#div1 {
width: calc(100% - var(--tab-count));
}
:root {
--tab-count: 5;
}
#div1 {
width: calc(100% - var(--tab-count));
}