CSS :any-link selector
The `:any-link` CSS pseudo-class matches all elements that match `:link` or `:visited`
:dir() CSS pseudo-class
Matches elements based on their directionality. `:dir(ltr)` matches elements which are Left-to-Right. `:dir(rtl)` matches elements which are Right-to-Left.
::first-letter CSS pseudo-element selector
CSS pseudo-element that allows styling only the first "letter" of text within an element. Useful for implementing initial caps or drop caps styling.
CSS first-line pseudo-element
Allows styling specifically for the first line of text using the `::first-line` pseudo-element. Note that only a limited set of properties can be applied.
:focus-visible CSS pseudo-class
The `:focus-visible` pseudo-class applies while an element matches the `:focus` pseudo-class, and the UA determines via heuristics that the focus should be specially indicated on the element (typically via a “focus ring”).
:focus-within CSS pseudo-class
The `:focus-within` pseudo-class matches elements that either themselves match `:focus` or that have descendants which match `:focus`.
CSS Generated content for pseudo-elements
Method of displaying text or images before or after the given element's contents using the ::before and ::after pseudo-elements. All browsers with support also support the `attr()` notation in the `content` property.
:has() CSS relational pseudo-class
Select elements containing specific content. For example, `a:has(img)` selects all `<a>` elements that contain an `<img>` child.
CSS ::marker pseudo-element
The `::marker` pseudo-element allows list item markers to be styled or have their content value customized.
:is() CSS pseudo-class
The `:is()` (formerly `:matches()`, formerly `:any()`) pseudo-class checks whether the element at its position in the outer selector matches any of the selectors in its selector list. It's useful syntactic sugar that allows you to avoid writing out all the combinations manually as separate selectors. The effect is similar to nesting in Sass and most other CSS preprocessors.
::placeholder CSS pseudo-element
The ::placeholder pseudo-element represents placeholder text in an input field: text that represents the input and provides a hint to the user on how to fill out the form. For example, a date-input field might have the placeholder text `YYYY-MM-DD` to clarify that numeric dates are to be entered in year-month-day order.
:placeholder-shown CSS pseudo-class
Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in HTML5. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text.
CSS :read-only and :read-write selectors
:read-only and :read-write pseudo-classes to match elements which are considered user-alterable
::selection CSS pseudo-element
The ::selection CSS pseudo-element applies rules to the portion of a document that has been highlighted (e.g., selected with the mouse or another pointing device) by the user.
csspseudoelement api
csspseudoelement api: element
csspseudoelement api: type
17 results found.