A standalone CSS library for sliders. No Javascript needed!
<label class="checkbox"> <!-- Note the data-on and data-off attributes to set the text. Possible additional classes are: slidr-info | slidr-success | slidr-warning | slidr-danger | slidr-inverse --> <input type="checkbox" value=""> <span class="slidr" data-on="ON" data-off="OFF"></span> Option one is this and that—be sure to include why it's great </label>