Game Development Reference
In-Depth Information
Attribute
Definition
E[foo^="bar"] It selects an E element with an attribute foo has a value that
begins with bar
E[foo$="bar"] It selects an E element with an attribute foo has a value that
ends with bar
E[foo*="bar"] It selects an E element with an attribute foo has a value that
contains bar
It selects an E element at the root of the document
E:root
It selects the N th E child element
E:nth-
child(n)
It selects the N th E child element counting from the last child
element
E:nth-last-
child(n)
It selects the N th E sibling element of its type
E:nth-of-
type(n)
It selects the N th E sibling element of its type, counting from the
last child element
E:nth-last-
of-type(n)
Search WWH ::




Custom Search