Makzan / I share what I learnt

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 December 15, 2015. More articles like this: Clip & Quote, CSS, Web Technologies.

Sign up for weekly dispatch each week.

Want productive tips and web technologies links like this in your inbox each week? No spam ever. Just useful content:

Read previous weekly dispatch newsletters.