That being said, if only they added a :on-click pseudoselector the biggest class of JS for CSS would disappear and both performance and clarity would be improved. But it doesn't seems that's ever going to happen
Well I can't find a proposal on the web and the idea is sufficiently basic and fundamental to have been considered by the whatwg/w3c therefore they must have dismissed it for unknown reasons. They might reconsider it too so maybe
10 comments
[ 1.8 ms ] story [ 28.2 ms ] threadhttps://www.bram.us/2020/11/05/container-queries-are-coming-...
That being said, if only they added a :on-click pseudoselector the biggest class of JS for CSS would disappear and both performance and clarity would be improved. But it doesn't seems that's ever going to happen
Firefox still doesn't support the 7 year old feature backdrop-filter when even Safari does.