lundi 18 décembre 2017

Is it possible to set special styles to checkboxes when all of them are unchecked using only CSS?

It's simple to apply CSS to checked/unchecked checkboxes (using :checked) and their labels. However, I need to apply another style to all checkboxes when all of them are unchecked.

This is relatively simple to implement using JavaScript but I have a widget which I'm not eager to modify so I'd like to know whether there's a CSS trick for that. I suspect that there isn't, but there's always somebody who's smarter :)




Aucun commentaire:

Enregistrer un commentaire