- From: Roman Komarov via GitHub <sysbot+gh@w3.org>
- Date: Mon, 25 Dec 2023 15:50:46 +0000
- To: public-css-archive@w3.org
I just wrote an article related to this: https://blog.kizu.dev/nth-sibling-christmas-tree/ The need for this kind of selector is something I stumble upon regularly, and it could be really nice if there would be some way of achieving it, be it via a new pseudo-class like `:nth-sibling()`, some modification of `:nth-child()`, or anything else. For now, the only workarounds require repeating ourselves. CSS Nesting alleviates some of the repetition, but not all of it, and can potentially be not good for performance, so having something available natively will be really good. -- GitHub Notification of comment by kizu Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3813#issuecomment-1869034626 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 25 December 2023 15:50:48 UTC