Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check if element has child css

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

div:nth-child(x) {
	background: red;
}
 
PREVIOUS NEXT
Tagged: #check #element #child #css
ADD COMMENT
Topic
Name
6+6 =