At the #OrlandoCodePen meetup tonight, one of the demos was an iOS-inspired toggle switch made with a couple of divs, some CSS, and a little bit of javascript.

It got me thinking about solving the same problem with a single checkbox and some CSS.

Here is the resulting timelapse (from 7min down to 2min) - final pen below:

All-CSS Toggle Switch