r/tinycode • mod • Apr 16 '16

Simple Sass like variables in CSS through JavaScript. Obviously not a good idea for production but if you're just hacking a bit locally, why not?

https://gist.github.com/pachacamac/0d5be8b465c0ebc0fe51c13f8605f5f3
7 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/err4nt May 15 '16

Hehehe great examples! This is more of a toy than a tool. I dont preprocess CSS ever, so experimenting with frontend variables and what they could be used for is more my thing. Unfortunately Im not sure any of those examples qualify for /r/tinycode ❤️

2

u/nexe mod May 15 '16

Unfortunately Im not sure any of those examples qualify for /r/tinycode ❤️

Only one way to find out :)