CSS Toggle Switch
Link: CSS Toggle Switch
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.
I also demonstrated a customized checkbox.
Want productive tips and web technologies links like this in your inbox each week? Sign up for weekly dispatch each week. No spam ever. Just useful content: