Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

CSS Global variables

:root {
	--global--color-primary: #28303d;
}

a {
	color: var(--global--color-primary);
}

.social-icons a {
	background: var(--global--color-primary);
}
Source by torquemag.io #
 
PREVIOUS NEXT
Tagged: #CSS #Global #variables
ADD COMMENT
Topic
Name
6+3 =