What is the Universal Selector?
The Universal Selector selects all elements on a webpage.
It is represented by a single asterisk ( * ).
It applies the same styling rule to every HTML element unless overridden by more specific selectors.
Syntax
Example:
When to Use the Universal Selector
✔ 1. CSS Reset
Most commonly used to remove default browser styling:
✔ 2. Global Box-Sizing
Makes layout easier across all elements:
✔ 3. Applying Global Font
Useful for setting a single font for the whole website:





