how to define in css variable with 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));
}