Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css variables

:root {
  --background-color: #333;
  --text-color: #fff;
}
body {
  background-color: var(--background-color);
  color: var(--text-color);
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #css #variables
ADD COMMENT
Topic
Name
6+4 =