E[att^= ' Val ']
Select any character whose attribute value begins with Val
E[att$= ' Val ']
Select any character with the attribute value ending in Val
E[att*= ' Val ']
Select attribute value contains any character of Val
: Root
HTML layer
: Not ([])
With jquery
: Empty
Select an element without any content
: Target
Target element of a flag that matches the URL of a document
: First-child
Select the first child element of a parent element
: Last-child
: Nth-child (n)
The selector is used to locate one or more specific child elements of a parent element. where "n" is its argument and can be an integer value (1,2,3,4), it can be an expression (2n+1,-n+5), and a keyword (odd, even), but the starting value of parameter n is always 1, not 0. That is, the value of the parameter n is 0 o'clock, and the selector will not select any matching elements.
: Nth-last-child (n)
Evaluates from the last child element of the parent element, as in the previous attribute
: First-of-type:
Specifies the first X element of a parent element
: Nth-of-type (n)
Select a seed element type specified in the parent element
: Nth-last-of-type (n)
Selects a seed element type specified in the parent element, starting from the last child element
: First-of-type
Select is the first child element of a type under the parent element
: Last-of-type
Select is the last child element of a type under the parent element
: Only-child
The selector selects an element that has only one child element and only one child element.
: Only-of-type
The selector selects only one (unique) seed element.
CSS3 selector (i)