Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

animejs code sample for keyframe property

anime({
  targets: '.animation-keyframes-demo .el',
  keyframes: [
    {translateY: -40},
    {translateX: 250},
    {translateY: 40},
    {translateX: 0},
    {translateY: 0}
  ],
  duration: 4000,
  easing: 'easeOutElastic(1, .8)',
  loop: true
});
Source by animejs.com #
 
PREVIOUS NEXT
Tagged: #animejs #code #sample #keyframe #property
ADD COMMENT
Topic
Name
9+1 =