DEV Community

Cover image for Why animations are not used so often?
Carlos Wosiak
Carlos Wosiak

Posted on • Edited on

Why animations are not used so often?

As a freelancer web developer, I particularly enjoy create CSS and Javascript animations, but even though I think it is amazing, most of the websites that I visit don't use it, or use almost no animations.

With great power comes great responsibilities

So I'd like to ask you what you think of web animations, the performance cost is so high that it doesn't worth, or is there any other reason?

Top comments (4)

Collapse
 
jdnichollsc profile image
J.D Nicholls

Maybe with Web Components you can reduce the amount of code, to use animations more often by only using html elements, check my example created with StencilJS => github.com/proyecto26/animatable-c...

Collapse
 
qm3ster profile image
Mihail Malo

Performance cost, development cost, and then in most places they would just be distracting and not serve a business goal.

Collapse
 
jdnichollsc profile image
J.D Nicholls

I understand business goal, but maybe because most of the time is complicated (you need to learn CSS, JS libraries, Adobe After Effects for JSON animations with Lottie, etc). Maybe we can improve that by adding good animations by only using html elements, check my example: github.com/proyecto26/animatable-c...