Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css custom properties

/* create */
:root {
	--variable-name: variable-property;
}
/* use */
selector {
	property: var(--variable-name);
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #css #custom #properties
ADD COMMENT
Topic
Name
5+1 =