It took me a whole day to finally get the swipe gesture smooth on the web (desktop and mobile) using jQuery and CSS3. I wrote the script from scratch to calculate the drag point and make sure that it passes the threshold, before animating the card with CSS3 in sequence. It's harder than it looks when it comes to replicating animation in a browser compare to a native app.
You can see it live here: http://www.travelistly.com/
Make sure you visit the page on mobile and select any story on the list and start swiping,
Let me know what you think!
L or F like
Show and tell for designers
What are you working on? Dribbble is a community of designers sharing screenshots of their work, process, and projects.
Copyright © 2009–2017 Dribbble LLC. All screenshots © their respective owners. Shipped from Salem, Mass. USA.