Forums

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

Home Forums JavaScript using nth-child(1) on a anchor Re: using nth-child(1) on a anchor

#72917
noahgelman
Participant

Maybe it didnt work since you didn’t put an n value in? Try:

#home nav ul li a:nth-child(1n) {
background-position:bottom;
}