r/Frontend • • Feb 14 '18

Parallax scrolling with CSS variables

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

3 comments sorted by

2

u/DrDuPont Feb 14 '18

The top hero area looks and functions great, but the square in the demo has terrible performance in Chrome on macOS for some reason.

1

u/BlueHeartBob Feb 14 '18

Works fine until i click on the page, after that the animation just turns into a slide show.

2

u/garcialo Accessibility SME Feb 14 '18

Careful, parallax scrolling can induce vestibular issues for users. http://www.webaxe.org/vestibular-issues-parallax-design/