eTianbun 51 Posted October 14, 2011 Report Share Posted October 14, 2011 Does anybody know the meaning of nth in css3 pseudo class?ex: :nth-child(N) Quote Link to post Share on other sites
ShadowMage 94 Posted October 14, 2011 Report 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.... 1 Quote Link to post Share on other sites
eTianbun 51 Posted October 14, 2011 Author Report Share Posted October 14, 2011 Thanks, that wasClear! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.