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
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.
You need something more like this:
.bulkEditblocks label .switch-input:checked ~ .switch .switch-label
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