javascriptcssuser-interfacescrollui-design

How can I do horizontal scrolling animations?


Some websites have some elements that slide horizontally while you are scroll(vertically). Have an example about it in http://www.timeslot.com/. How can I do that with javascript and css? Or do you have any codepen etc. instance about it?


Solution

  • This website probably works with different kind of techniques, for example, playing certain animations on scroll. I can recommend "gsap scrolltriger" or "locomotive-scroll", which has an effect to scroll horizontally. Hope this helps.