<label class="switch">
<input type="checkbox">
<span class="slider"></span>
</label>
Back to Snippets
IOS Style Toggle Switch CSS
Add settings controls to your app with this iOS-inspired toggle switch. It relies on a simple checkbox input, so it is lightweight, accessible, and provides a satisfying smooth transition when clicked.
383