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
February 28, 2011 at 1:23 pm
#57736
noahgelman
Participant
Use:
:nth-of-type(n+2)
n=0, then it targets the second.
n=1, then it targets the third.
n=2, then it targets the forth.
etc.
I think you guys were over thinking this.