Variables in CSS3 | Sololearn: Learn to code for FREE!

+5

Variables in CSS3

Checkout this code, and see how to use variables in CSS3 without using any preprocessors https://code.sololearn.com/WCKnw52h2YDP/?ref=app

12/27/2017 4:24:01 PM

Мг. Кнап🌠

6 Answers

New Answer

+5

great @Sami. but it didn't work for older device

+2

That's one useful thing, nice, thanks :D

+2

Thank you for teaching me something new.

+2

Don't really like how bulky the variables have to be on sololearn. on codepen you can do stuff like $var="red" but doesn't work here

+2

@Brains i think that is the syntax of sass... but here no preprocessor is used

+1

@JFS ya i do noticed...