A CodePen by Hugo Giraudel. Pure CSS light switch - Inspired by Mike Ackerman's work on Dribbble : http://dribbble.com/shots/337902-Light-Switches. Except for the right shadow on the initial state, it was pretty easy to do. I even felt confident enough to change some shadows from the original work.