.classSelect elements with class="class"
#idSelect element with id="id"
*Select all elements
elementSelect all elements of type
element,elementSelect multiple elements
element elementSelect descendants
element>elementSelect direct children
element+elementSelect adjacent sibling
element1~element2Select all siblings after
[attribute]Has attribute
[attribute=value]Attribute equals value
[attribute~=value]Attribute contains word
[attribute|=value]Attribute starts with value-
[attribute^=value]Attribute begins with
[attribute$=value]Attribute ends with
[attribute*=value]Attribute contains substring
:activeActive link
:hoverMouse over element
:focusFocused element
:linkUnvisited links
:visitedVisited links
:targetActive target element
:checkedChecked input
:disabledDisabled input
:enabledEnabled input
:emptyEmpty elements
:first-childFirst child
:first-of-typeFirst of type
:last-childLast child
:last-of-typeLast of type
:not(selector)Not matching selector
:nth-child(n)Nth child
:nth-last-child(n)Nth child from end
:nth-of-type(n)Nth of type
:only-childOnly child
:only-of-typeOnly of type
::afterInsert content after
::beforeInsert content before
::first-letterFirst letter
::first-lineFirst line
::selectionSelected portion
::placeholderPlaceholder text