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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...