Jump to content

:nth In Pseudo Class.


Recommended Posts

n is a variable commonly used to represent a number. The nth-child is used to select the child at index (N) of the children of a particular element. Like, for example, the 6th-child. You don't actually replace the n in nth though. To select the 6th child you'd do something like :nth-child(6) Hope that was clear....^_^

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...