eTianbun Posted October 14, 2011 Share Posted October 14, 2011 Does anybody know the meaning of nth in css3 pseudo class?ex: :nth-child(N) Link to comment Share on other sites More sharing options...
ShadowMage Posted October 14, 2011 Share Posted October 14, 2011 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 More sharing options...
eTianbun Posted October 14, 2011 Author Share Posted October 14, 2011 Thanks, that wasClear! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.