:active | The:activepseudo-class represents an element (such as Button) that is being activated by the user. When using a mouse, "activation" typically starts when the user presses down the primary mouse button. |
:blur | The:blurpseudo-class represents an element (such as TextField) that has lost focus. It is generally triggered when the user clicks or taps or selects with the keyboard's Tab key an element other than the one focused. The element also has a focus state, in which it receives the focus. |
:checked | The:checkedpseudo-class selector represents any boolean (RadioButton, Toggle), or option (RadioButtonGroup, GroupBox, DropdownField) element that is checked or toggled to an on state. |
:disabled | The:disabledpseudo-class represents any disabled element. An element is disabled if it can't be activated (selected, clicked on, typed into, etc.) or accept focus. The element also has an enabled state, in which it can be activated or accept focus. |
:empty | The:emptypseudo-class represents any element that has no children depending on whether the search is done via container or hierachy. |
:enabled | The:enabledpseudo-class represents any enabled element. An element is enabled if it can be activated (selected, clicked on, typed into, etc.) or accept focus. The element also has a disabled state, in which it can't be activated or accept focus. |
:first-child | The:first-childpseudo-class represents the first element among a group of sibling elements. |
:first-of-type | The:first-of-typepseudo-class represents the first element of its type among a group of sibling elements. |
:focus | The:focuspseudo-class represents an element (such as TextField) that has received focus. It is generally triggered when the user clicks or taps on an element or selects it with the keyboard's Tab key. The element also has a blur state, in which it loses the focus. |
:has() | The functional:has()pseudo-class represents an element if any of the relative selectors that are passed as an argument match at least one element when anchored against this element. This pseudo-class presents a way of selecting a parent element or a previous sibling element with respect to a reference element by taking a relative selector list as an argument. |
:has-not() | The functional:has()pseudo-class represents an element if any of the relative selectors that are passed as an argument does not match any element when anchored against this element. This pseudo-class presents a way of selecting a parent element or a previous sibling element with respect to a reference element by taking a relative selector list as an argument. |
:host-context() | The:host-context()pseudo-class function selects the VisualElement host only if the selector given as the function's parameter matches the VisualElement host's ancestor(s) in the place it sits inside the UIDocument hierarchy. |
:host | The:hostpseudo-class selects the VisualElement host. |
:host() | The:host()pseudo-class function selects the VisualElement host only if the selector given as the function's parameter matches the VisualElement host. |
:hover | The:hoverpseudo-class matches when the user interacts with an element with a pointing device, but does not necessarily activate it. It is generally triggered when the user hovers over an element with the cursor (mouse pointer). |
:is() | The:is()pseudo-class function takes a selector list as its argument, and selects any element that can be selected by onea of the selectors in that list. This is useful for writing large selectors in a more compact form. |
:last-child | The:last-childpseudo-class represents the last element among a group of sibling elements. |
:last-of-type | The:last-of-typepseudo-class represents the last element of its type among a group of sibling elements. |
:not() | The:not()pseudo-class represents elements that do not match a list of selectors. Since it prevents specific items from being selected, it can be compared as the negation of :is() pseudo-class. |
:nth-child() | The:nth-child()pseudo-class matches elements based on their position among a group of siblings. |
:nth-last-child | The:nth-last-child()pseudo-class matches elements based on their position among a group of siblings, counting from the end. |
:nth-last-of-type | The:nth-last-of-type()pseudo-class matches elements based on their position among siblings of the same type, counting from the end. |
:nth-of-type | The:nth-of-type()pseudo-class matches elements based on their position among siblings of the same type. |
:only-child | The:only-childpseudo-class represents an element without any siblings. This is the same as :first-child:last-child or :nth-child(1):nth-last-child(1). |
:only-of-type | The:only-of-typepseudo-class represents an element that has no siblings of the same type. This is the same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1). |
:unchecked | The:uncheckedpseudo-class selector represents any boolean (RadioButton, Toggle), or option (RadioButtonGroup, GroupBox, DropdownField) element that is unchecked or toggled to an off state. |