Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

create variable in css

:root {
  --tab-count: 5;
}

#div1 {
  width: calc(100% - var(--tab-count));
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #create #variable #css
ADD COMMENT
Topic
Name
1+1 =