DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
css variable
:root { --main-bg-color: pink; } body { background-color: var(--main-bg-color); }
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#css
#variable
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit