Makzan / I share what I learned

CSS Toggle Switch

Link: CSS Toggle Switch

Screen Shot 2015-12-15 at 11.17.46 PM

The beauty of this CSS toggle switch is that it is accessible when JS/CSS is not available. The following is the HTML it uses.

Which works when in HTML-only environment.

Screen Shot 2015-12-15 at 11.17.24 PM

I also demonstrated a customized checkbox.

Published on 2015-12-15. More articles like this:
- Clip & Quote
- Web Technologies

Previous <- Link: How to animate “box-shadow” with silky smooth performance
Next -> Demo of autolayout differently in portrait and landscape