Besides ::before/::after and the typography pseudo-elements, browsers expose dedicated pseudo-element interfaces for specific scenarios, covering text selection, form placeholders, list markers, and even the backdrop of native dialogs.
::selection
Customizes the highlight style when the user selects text by dragging with the mouse; only a few properties such as color, background-color and text-shadow are supported.
Select me to see the effect — this tutorial site also applies this custom style globally.
::placeholder
Customizes the style of form placeholder text. Note that its default color has low contrast; adjusting it can improve readability, but it should not be too close to the color of actual input content.
Targets the bullet or the number of a list item <li> itself, letting you directly change its color, size, or even replace its content — no need for list-style: none plus a pseudo-element workaround.
Targets the backdrop layer behind elements shown in fullscreen mode or via the native <dialog>, letting us customize the overlay color and blur without an extra backdrop div.
Targets the built-in "Choose file" button of <input type="file">, one of the few interfaces that let you directly style a sub-part of a native form control.