CSS Animatons summary

In notebook:
FrontEndMasters Motion Design with CSS
Created at:
2016-11-15
Updated:
2016-11-15
Tags:
css animation
Animation is not available on IE 9 and lower and Opera Mini.

For older smartphones, best to add ​-webkit—​. 

Best to use the site's relative usage statistics.  

Advantages of CSS Animations:
  • Looping (looping infinitely)
  • Self starting (don't require trigger like transition)
  • Repeating (how many times to repeat)
  • Alternating (bac and forth)
  • Grouping – Each animation can change a number of properties
When your animation at 0% has the default values (like ​left:0​) then you can even omit the 0% declaration. 

- How to do bounces

The cubic-bezier is not adequate to realistically create bouncing effects. You need animation with keyframes and do it manually. 
You can do css animation timing functions inside keyframe blocks to define how each of those percentages should change over time.