Skip to content

humhann/flip-carousel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flip Carousel

Simple carousel, animated using Web Animation API and the FLIP technique.

FLIP stands for:

  • First - save state (position, size, etc.) of object before manipulating it
  • Last - manipulate the object instantaneously and save state again
  • Invert - calculate differences (delta) between states, to make it appear as if object is (still) in its first state
  • Play - transition from first to last state (transform from delta to none)

Flip Carousel Demo

Example will only work on browsers that support Web Animation API (see caniuse.com). There is a great polyfill that you can use.

About

Simple carousel, animated using Web Animation API and the F.L.I.P. technique.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors