selector
universal — CSS reference
Matches any element in the applicable namespace, not text nodes. It contributes no specificity; it does not pierce shadow boundaries.
Formal Syntax & Structure
css syntaxcss
*Working Example
Example Snippetcss
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Selector lab</title><style>:where(.sample) { color: rgb(32, 32, 32); }* { color: rgb(0, 96, 80); }</style></head><body><p id="a" class="sample">A</p><div id="b" class="sample">B</div></body></html>