You’ll find mobile-interface-like toggle switches in various places around the web but I wanted to improve existing examples. Specifically, I wanted a solution which: progressively enhanced standard checkboxes did not use superfluous HTML tags or attributes supported input labels used only CSS without images or JavaScript used relative units so the controls are resizable/responsive had some slick
![How to Create a Toggle Switch in CSS3 — SitePoint](https://cdn-ak-scissors.b.st-hatena.com/image/square/e3fa475ce943a48db21acc256784b5c7fc17ab77/height=288;version=1;width=512/https%3A%2F%2Fwww.sitepoint.com%2Fwp-content%2Fthemes%2Fsitepoint%2Fassets%2Fimages%2Ficon.html-css.png)