Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css variable

...
<style>
	:root{
  		--couleur-principale: brown;
	}
	#test1{
		color:var(--couleur-principale);
	}
</style>
...
Source by karac.ch #
 
PREVIOUS NEXT
Tagged: #css #variable
ADD COMMENT
Topic
Name
6+2 =