3 ms·
This feels to me like it's an intended use of the :has and :nth-child - I would worry about it if I thought it was a trick that might stop working in the future
by simonw 4y ago
This feels to me like it's an intended use of the :has and :nth-child - I would worry about it if I thought it was a trick that might stop working in the future, but it seems compatible with the intention of the spec to me.
- digging 4y agoBoth can be true... CSS has a lot of clever tools that feel like hacks. And I'm here for it, even though I almost never want to use most of them. We need more non-JS options in web sites. I just hate that they're so obscure and complex for relatively little gain.