Over a million developers have joined DZone.

CSS3 Animation Made Simple with Move.js

DZone's Guide to

CSS3 Animation Made Simple with Move.js

· Web Dev Zone ·
Free Resource

Jumpstart your Angular applications with Indigo.Design, a unified platform for visual design, UX prototyping, code generation, and app development.

Move.js is a cool JavaScript library that makes CSS3 animations simple and elegant by implementing a JavaScript syntax with tons of built-in easing functions.

With Move.js, you can do a complex CSS3 animation like a translate to the point (500px, 200px), rotate it by 180deg, scale it by .5, skew it, and alter colors within a 2-second duration with the following simple markup:
  .to(500, 200)
  .set('background-color', '#888')
  .set('border-color', 'black')
  .skew(50, -10)
    .set('opacity', 0)
Simple, huh? The same animation would be huge and unwieldy in standard CSS, but Move.js makes it simple and elegant.

Check out Move.js on GitHub.


Take a look at an Indigo.Design sample application to learn more about how apps are created with design to code software.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}