Re: [csswg-drafts] [css-values] Proposal: add sibling-count() and sibling-index() (#4559)

Being able to get the index of a child came up in a few recent discussions. Would love to see this get picked up and move forward.

This addition would also tackle a lot of the "I want loops in CSS"-requests, as most loops I have seen are simply there to get the index _(a perception, don't have any numbers to back this)_

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4559#issuecomment-1126093463 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 13 May 2022 14:05:22 UTC