DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
how to use variables in css
:root
{
--clr-primary-1
:
hsl
(
205
,
86
%
,
17
%
)
;
}
.container
{
background-color
:
var
(
--clr-primary-3
)
;
}
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#variables
#css
ADD COMMENT
Topic
COMMENT
Name
5+9 =
Submit