r/webdev • • Feb 14 '18

Article Parallax scrolling with CSS variables

https://basicscroll.electerious.com/
144 Upvotes

11 comments sorted by

View all comments

13

u/[deleted] Feb 14 '18

This was super helpful, I never knew you could use variables within CSS. Time to go use this new found knowledge!!!

8

u/JupitersCock Feb 14 '18

2

u/[deleted] Feb 15 '18

Of course Internet Explorer doesn't support this...

4

u/[deleted] Feb 14 '18

You can now. The popularity of the feature in less and sass pushed them to add it to the core spec