- Animations
- Transitions
- Vendor Prefixes - What are they and why do we need them?
CSS Animations are made up of two basic building blocks:
- Keyframes
- Animation Properties
-
Small strings prepended to CSS properties that will ensure that the property will only be valid and rendered within the given browser engine
-
WebKit: -webkit (Chrome and Safari)
-
Firefox: -moz
-
Examples: -webkit-transition-property, -moz-animation-name
-
Let someone else do the work:
-
Autoprefixer - add vendor prefixes to CSS rules using values from can i use
-
Use a task runner like Gulp or Grunt
-
npm install gulp-autoprefixer –-save