switch is a pure css solution for creating iOS style switch toggle button. It is easy to use.
How to create a switch button using switch?
1.Import stylesheet in html page
<link rel="stylesheet" href="css/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
2.Create a checkbox input for the switch
<label class="switch"> <input type="checkbox" checked> <span></span> </label>