Online Tool CSS3 Animation Generator

Animation

CSS Animation generator for lazy people.

CSS Animations

CSS allows animation of HTML elements without using JavaScript or Flash

In this chapter you will learn about the following properties:

  • @keyframes
  • animation-name
  • animation-duration
  • animation-delay
  • animation-iteration-count
  • animation-direction
  • animation-timing-function
  • animation-fill-mode
  • animation

Browser Specific Prefixes

Some older browsers need specific prefixes (-webkit-) to understand the animation properties

 

What are CSS Animations?

An animation lets an element gradually change from one style to another.

You can change as many CSS properties you want, as many times you want.

To use CSS animation, you must first specify some keyframes for the animation.

Keyframes hold what styles the element will have at certain times.

 

The @keyframes Rule

When you specify CSS styles inside the @keyframes rule, the animation will gradually change from the current style to the new style at certain times.