CSS * (universal) Selector
Example
* {
background-color: red;
}
Meaning
The *(universal) selects all elements.
The * asterisk is optional with simple selectors. For instance, *.warning and .warning are equivalent.
Version: CSS2
Standard Syntax
* {
css declarations;
}
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Status
More Examples
Example
div * {
background-color: red;
}