The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › How to I style the whole row when checkbox is cheked?
because of the way of the html is structure, I don’t know how to target the entire rows.
Any help is greatly appreciated!
If you don’t wrap the input and label in that div, you’ll be able to target all of the siblings in the row for example. It is otherwise not possible with CSS to traverse back (up the tree) through the parent element.
Thanks, at least now i know.