{"id":362893,"date":"2022-02-02T13:11:55","date_gmt":"2022-02-02T21:11:55","guid":{"rendered":"https:\/\/css-tricks.com\/?p=362893"},"modified":"2022-02-02T13:11:57","modified_gmt":"2022-02-02T21:11:57","slug":"building-a-scrollable-and-draggable-timeline-with-gsap","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/building-a-scrollable-and-draggable-timeline-with-gsap\/","title":{"rendered":"Building a Scrollable and Draggable Timeline with GSAP"},"content":{"rendered":"\n

Here’s a super classy demo from Michelle Barker<\/a> over on Codrops that shows how to build a scrollable and draggable timeline with GSAP. It’s an interesting challenge to have two different interactions (vertical scrolling and horizontal dragging) be tied together and react to each other. I love seeing it all done with nice semantic markup, code that’s easy to follow, clear abstractions, and accessibility considered all the way through.<\/p>\n\n\n\n\n\n\n\n