Bouncing Switches

See the Pen bouncing switches by Brian Best (@brianbest) on CodePen.5308

Today I wanted to do a little CSS of my own after work. I’ve been posting a lot on Instagram and I was checking out one of my followers @uncognition and he gave a shout out to in his story. Anyway, Sasha is, from what I gather, a designer in the bay area and she posts some really cool animations and Sass snippets. Her first post on the page is of some bouncing colored boxes. I wanted to recreate that post my own way and put my own spin on it. So I present to you the bouncing switches! Fun note I used transform3d here to enable some hardware accelerated animations, however, I think I undo some of that with the box shadow. No matter still looks really smooth on my screens

Site Footer