+ 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

27th Dec 2017, 4:24 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
6 Answers
+ 5
great @Sami. but it didn't work for older device
28th Dec 2017, 2:34 AM
Amethyst Animion
Amethyst Animion - avatar
+ 2
That's one useful thing, nice, thanks :D
27th Dec 2017, 4:31 PM
Jakub Stasiak
Jakub Stasiak - avatar
+ 2
Thank you for teaching me something new.
27th Dec 2017, 4:34 PM
John Wells
John Wells - avatar
+ 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
27th Dec 2017, 4:40 PM
į Œį ŒCode X
į Œį ŒCode X - avatar
+ 2
@Brains i think that is the syntax of sass... but here no preprocessor is used
27th Dec 2017, 4:41 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
+ 1
@JFS ya i do noticed...
28th Dec 2017, 6:35 AM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar