Game Development Reference
In-Depth Information
Attribute
Definition
E:last-child
It selects the last
E
element
It selects the first
E
sibling element of its type
E:first-of-
type
It selects the last
E
sibling element of its type
E:last-of-
type
E:only-child
It selects an
E
element if this is the only child node of its parent
element
It selects an
E
element if this is the only sibling node of its type
of its parent element
E:only-of-
type
It selects an
E
element if it has no child nodes and no text con-
tent
E:empty
It selects an
E
element whose
ID
attribute matches the URL
hash symbol
E:target
It selects an
E
element that has been disabled through its cor-
responding attribute
E:enabled
E:disabled