Animating my illustration using animate.css

Aneeqa Khan
Aug 15, 2021

Hi folks! a few months ago I created a boombox illustration by only using CSS.

Now I am looking forward to animating it.

As I am new to animation. I researched a little and found about animate.css. I decided to use it instantly because it's pretty simple and easy. Like you animate your component with just one line of code.

So basically I wanted to animate the speakers as showing beat effect. For this, I added this class to my inner speaker div.

className="animate__animated animate__heartBeat animate__fast animate__infinite"

here I used heartBeat animation type and specifies its speed as fast for infinite time.
and here is the result

Thanks for reading and keep creating! ✨

--

--

Aneeqa Khan
Aneeqa Khan

Written by Aneeqa Khan

I’m a frontend web and mobile developer specialized in web/mobile designs and frontend frameworks. I usually work with React, React Native, Next and TypeScript.

No responses yet