This toggle switch will look great on websites where you want to show a toggle option with lables on them. It was designed by Jarek Ostrowski.
If you are having trouble with the pen, try the archived copy on GitHub
Toggle Switch Snippet
See the Pen Toggle button by Jarek Ostrowski (@jareko999) on CodePen.0