W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2017

Re: [csswg-drafts] [css-values] Function to retrieve index of element among siblings, or counter on element as integer

From: Sebastian Malton via GitHub <sysbot+gh@w3.org>
Date: Sat, 28 Oct 2017 01:50:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-340131524-1509155408-sysbot+gh@w3.org>
The idea of a selector as well is cool but another way to get the parent's sibling count would be `sibling-index(1p)` for the first parent

-- 
GitHub Notification of comment by Nokel81
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1869#issuecomment-340131524 using your GitHub account
Received on Saturday, 28 October 2017 01:50:15 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:19 UTC