samedi 27 février 2016

HTML checkbox 'checked' property affects style?

I have a small sliding options control I'm coding in plain HTML and JS. it looks like this in chrome:

enter image description here

When none of the checkboxes is checked, it works as expected but when I check a checkbox, the alignment of the right icons breaks:

enter image description here

This happens both in chrome and firefox.
The live example is here:

http://ift.tt/24u8QHB

What the difference in style between a checked and unchecked checkbox?
How can I fix the misalignement?




Aucun commentaire:

Enregistrer un commentaire