vendredi 19 janvier 2018

css: trigger checkbox hover via parent element

here's my simple markup

<table>
    <tr><td><input type="checkbox"> foo</td></tr>
    <tr><td><input type="checkbox"> bar</td></tr>
</table>

is it possible to trigger the checkbox hover when hovering its parent TR? i mean causing the same hover effect when directly hovering the checkbox. thanks




Aucun commentaire:

Enregistrer un commentaire