GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

07Drag slider that decides the rest by release speed

Movement from pointerdown follows the finger exactly, setPointerCapture keeps the pointer bound, and the speed at release decides whether the slide advances or springs back.

Best forMobile photo paging, product images on touch devices

pointerdownsetPointerCapturetranslate3d
Drag slider that decides the rest by release speed
Open in a new tab

07 Drag slider that decides the rest by release speed — Measured area 40.266% · moving frames 19/23Original by GODRICH · SCSS and React ship in the zip · CSS Image Slider — 9 Responsive Sliders, No GSAP

The post this demo lives in

CSS Image Slider — 9 Responsive Sliders, No GSAP - preview of all 9 demosCSS Image Slider — 9 Responsive Sliders, No GSAPA css image slider lines up several photo slots in a row and shows them one at a time with arrows, dots, or a finger — N See all demos in this post

If you like this effect - similar demos