Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

nth-child css

/* This selects the nth child (x) of a parent element. */

div:nth-child(x) {
	background: red;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #css
ADD COMMENT
Topic
Name
7+4 =