Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Target with CSS all h2 EXCEPT first one on a page Re: Target with CSS all h2 EXCEPT first one on a page

#57751
noahgelman
Participant

Yes, :nth-child() takes “n”, sets it to 0, solves the equation, and then applies the style to the element of that number in order. And then it sets “n” to 1, solves the equation… etc etc. and it does that over and over again so it applies to all