I'm trying to create this animation in a button, the ideal goal would be to call this animation on click, it will be used to toggle the background sound of my site. Right now i've been able to replicate the animation but it doesn't quite fit in the button and looks weird. I'll really appreciate some help.
https://codepen.io/qgatss/pen/qBvPegB