Just a little CSS tomfoolery.

In the Swarm app for Android (and maybe they do this on the iOS version too, I dunno) the volume icon toggles sound on and off. Instead of a static image, though, the little sound waves in the icon actually animate into an X when it’s muted. I decided to replicate it in CSS. (Click it to toggle the icon state.)

See the Pen Animated Volume Icon by Paul (@peiche) on CodePen.0

Husband. Daddy. Programmer. Artist. I'm not an expert, I just play one in real life.