Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update files/en-us/web/css/reference/selectors/universal_selectors/in…
…dex.md

Co-authored-by: Chris Mills <[email protected]>
  • Loading branch information
codersjj and chrisdavidmills authored Nov 17, 2025
commit cf6f10d984dc11cfd58bbb627c0c2d39a3e223cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The universal selector is a special [type selector](/en-US/docs/Web/CSS/Referenc

> [!NOTE]
> The universal selector (`*`) matches **elements only**.
> It does **not** match pseudo-elements by itself.
> It does **not** directly match pseudo-elements by itself.
>
> Selectors like `*::before` work because the `*` matches all **elements**, and the pseudo-element selector (`::before`) applies to those elements. The universal selector does not directly select pseudo-elements.

Expand Down