Colouring elements is quite cool, but animating them… whooaaa, a whole new level. We can do things like the cool kids.
Do you remember how in the first lesson we were saying that the browser is stupid. Well, payback time, the browser is not THAT stupid. The browser knows how to read the CSS, link it to HTML and draw everything on the screen but since different companies create
Basic difference between the two comes in terms of what the browser knows what do with that bit of code.
- Are drawn much better in the same way on all the browsers
- Can have more advanced way of controlling the animation
- Slightly slower then CSS
CSS 3 animations:
- Can look slightly different on a browser or another
- Simple to use, very good for buttons or things that don’t move away