css how to use variable 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));
}