*
The universal selector is a special type selector, that represents an element of any element type. 5.2. Universal selector
Links about *
Axiomatic CSS and Lobotomized Owls
Managing flow content can get unwieldy—too many class selectors can become a specificity headache, nested styling can get redundant, and content editors don’t always understand the presentational m…
Universal selectors
The CSS universal selector (*) matches elements of any type.
Code sample
* {
outline: 5px solid fuchsia;
}
Explore other pages
- position: sticky
Makes an element stick.
- loading
Enables form controls to accept one or more values.
- inert
Indicates that the element is to be made inert.
- contain
Indicate that an element and its contents are independent of the rest of the document tree.