Property selector:
E[name] Property name is an element of name
*e[name=value] Property name is name value for value element
E[name~=value] contains the word element of value
E[name^=value] An element that begins with the word value
E[name$=value] The element ending with the word value
*e[name*=value] As long as the element containing the value of this thing
E[name|=value] Something that begins with value-or pure value
<a href= "XXXPDFXX" >
<a href= "Xxxdocxx" >
a[href*=pdf]{}
a[href*=doc]{}
----------------------------
Structural pseudo-Class selectors:
* E:nth-child (n) exactly nth, counting starting from 1
Nth-child (odd) odd
Nth-child (even) even
Nth-child (n) all numbers, starting from 0
Multiples of nth-child (2n) 2
Nth-child (2n+1)
Nth-child (2n-1)
E:nth-last-child (n) The nth of the penultimate
E:first-child = "Nth-child (1)
E:last-child = "Nth-last-child (1)
An element of type E:nth-of-type (n)
E:nth-last-of-type (N)
----------------------------
E:disabled cannot use form elements
E:enabled the available form elements
E:checked selected form elements
E:empty empty Element
E:target anchor element by anchor Point
E:not (some) in addition to some elements of something
----------------------------
Text pseudo-Class selector:
E:first-line first line of text
The first word of e:first-letter
e::selection{} Select text Super Pseudo class
:: selection{} All
After e::after{}
e:after{}
Content: '
e::before{}
e:before{}
Content: '
CSS3 Picker Sorting