Search
 
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
Name
5+9 =