Y
Hacker News
new
|
ask
|
show
|
jobs
by
haktan
245 days ago
Yet recently I couldn't find a way to count cousin elements using has and nth-of-type. JS still is needed when use case gets a little complex.
1 comments
california-og
245 days ago
Did you try counter()? There's also the upcoming sibling-index()
link