- From: Johannes Odland via GitHub <sysbot+gh@w3.org>
- Date: Mon, 15 Aug 2022 09:32:10 +0000
- To: public-css-archive@w3.org
With ‘:has()’ it should be possible to style elements based on number of children, although a little bit cumbersome: ‘’’css .container:has(:last-child:nth-child(3)) { background: green; } ‘’’ -- GitHub Notification of comment by johannesodland Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5694#issuecomment-1214818019 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 15 August 2022 09:32:11 UTC