Home › Forums › CSS › [Solved] control button doesn take the anitmation › Reply To: [Solved] control button doesn take the anitmation
April 22, 2015 at 8:04 am
#200946
Paulie_D
Member
Your selector won’t work because .switch-input
isn’t a sibling of switch-label
or switch-handle
.
You need something more like this:
.bulkEditblocks label .switch-input:checked ~ .switch .switch-label
http://jsfiddle.net/o0zg9q44/1/
You seem to have labels in labels…the HTML is pretty oddly structured.
Note…clicking on the actual switch..does nothing. This only works if you click on the “Portfolio” label.