this post was submitted on 20 Nov 2025
3 points (100.0% liked)
CSS
742 readers
4 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don't know how exactly people define what is or is not a thing for the purposes of "pseudo-elements applying to things" , but my first expectation was that, by design,
:closedcan not be the same as:not(open). The former would in theory apply to things, and only to things, that can have a state of closed-ness and are in that state of closed-ness, whereas the latter should be able to apply to things that may not have the possibility of being open or closed.But if that's not the case, then I don't really see a point for
:closedexisting, yeah.