The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] control button doesn take the anitmation
http://jsfiddle.net/codemasters14/o0zg9q44/
can some one help me the style when u click on it it doesn’t work
Your selector won’t work because .switch-input isn’t a sibling of switch-label or switch-handle.
.switch-input
switch-label
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.
closed figured out the input had to be injected in the label close this thanks
i injected it wrongly the elements thanks paulie i will read on it once i am done for my learning