# Description
The universal selector is denoted by an asterisk *
, is used to select any element within the document. It can be used on its own to select all elements, or with other selectors to add more specific conditions. For example, *
would select all elements, while p *
would select all elements that are descendants of a <p>
element.
# Example
/* Selects all elements */
* { }
/* Select all elements that are descendants of a <p> element. */
p * { }