CSS :is() takes the specificity of the elements which has a 0 specificity no matter how many elements grouped together. This selector simply checks the presence of some element using its class. It will check whether the parent element has an input with type checkbox and it is checked.

2m read timeFrom dev.to
Post cover image
Table of contents
HTML -CSS -
1 Comment

Sort: