codrops / Animocons

Animated icons powered by the motion graphics library mo.js by Oleg Solomka. Inspiration comes from the Dribbble shot ["Like Animation"](https://dribbble.com/shots/2527200-Like-Animation) by Daryl Ginn.
1.54k stars 175 forks source link

CSS3 only animations #5

Open eek opened 7 years ago

eek commented 7 years ago

The animations are great, but when you want to use just one or two, including mo.js which is a huge 330kb might be a bit too much.

Any plans on trying to replicate them CSS3 only?

eseQ commented 6 years ago

Can someone use something like anime.js? Will be nice.

Sandstedt commented 5 years ago

@eek Old issue, but to be fare, the minified version of mojs is just 134 K (or 36 K GZIP'ed). But no, you should probably not use a big library for a small micro animation, but if you gonna use more animations on the site/app, it's a great usecase.

Here you can find how you could use a similar effect with sprites: https://cssanimation.rocks/twitter-fave/