DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+1 =
Submit