css3 ui单选按钮

Off (unchecked)
On (checked)
Disabled Off
Disabled On
Custom
Custom

It's a one liner!

Or just use SCSS and customize it too!

import 'uiswitch';

$uiswitch-thumb-tint: #ffffff;
$uiswitch-on-tint: red;