Draggable Image Strip
Publikováno: 11.6.2019
A draggable image strip layout with a content preview powered by Draggabilly and TweenMax.
Draggable Image Strip was written by Mary Lou and published on Codrops.
Today we’d like to share a little draggable experiment with you. The idea is to show a strip of differently sized images that can be dragged. When clicking and holding to drag, a title element appears and the images get scaled. This separates the images and gives the whole thing an interesting look. When a number gets clicked, the same separation happens and then the images fly up. Another larger version of the images slides in from the bottom.
The animations are powered by TweenMax and we use Dave DeSandro’s Draggabilly.
The initial view looks as follows:
When we click to drag the image strip, we show the title:
When clicking on a number, we slide the images up and show a larger view with some content:
Here’s a preview of the whole thing in motion:
We hope you enjoy this experiment and find it useful!
References and Credits
- Fonts used in the demo: FF More Pro and Fleisch Wolf
- TweenMax by Greensock
- Draggabilly by Dave DeSandro
- imagesLoaded by Dave DeSandro
- Images from Unsplash.com
Draggable Image Strip was written by Mary Lou and published on Codrops.