Jump to content

:nth In Pseudo Class.


eTianbun

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....^_^

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...