Table of Contents

A fancy toggle switch that changes color on each click, designed by Alex Shevlyakov.

If you are having trouble with the pen, try the archived copy on GitHub

 

See the Pen
Realistic toggle button
by Alex (@AlexJedi)
on CodePen.