DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+4 =
Submit