Re: [csswg-drafts] [selectors-4] New selector based on the amount of child elements (#5694)

@emilio Another example is to add an **axes** system to a [Polar Chart](https://www.google.com/search?q=polar+chart&newwindow=1&sxsrf=ALeKk03iy1ScBxqfjBdoAgSQmIsW_8kj5A:1604530535112&source=lnms&tbm=isch&sa=X&ved=2ahUKEwiLks6E_unsAhWS66QKHZq2DyIQ_AUoAXoECAwQAw&biw=1920&bih=969) which is like a Pie Chart but with equal slices. To add radial axes you need to know how many child items you have, and the new `:nth-children()` pseudo-class will provide the ability to add **n** axes based on the HTML --> `tbody:nth-children(n)`.

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


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

Received on Wednesday, 4 November 2020 23:12:35 UTC