A checkbox input field designed to look like a toggle switch. This is a pure CSS snippet, designed by Nathan Taylor.
If you are having trouble with the pen, try the archived copy on GitHub
Realistic Toggle Switch Snippet
See the Pen Realistic CSS Switch (checkbox) by Nathan Taylor (@nathantaylor) on CodePen.0