Reputation: 68670
It almost works, except on the checked state, I can't change the label color.
input[type="checkbox"].custom:checked label { color: #fff; }
http://jsbin.com/vupow/1/
Upvotes: 3
Views: 113
Reputation: 218
.
input[type="checkbox"].custom:checked + label { background: #1c6db5; color: #ffffff; }
jsBin
Upvotes: 2