Should We Even Have :closed?
AI Summary1 min read
TL;DR
Sunkanmi Fafowora explains that :closed is not currently a CSS feature and discusses whether it should exist, comparing it to :not(:open). The article was originally published on CSS-Tricks.
Tags
Articlescsswgselectors
Is there really a difference between using :not(:open) and :closed? As always, it depends. Sunkanmi Fafowora explains why :closed is currently not a thing.
Should We Even Have :closed? originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.