pseudo-class
:muted — CSS reference
Matches media with muted sound; not a substitute for setting the actual muted state. The tested browser rejects the selector. Use an explicit application state class synchronized with media events/properties where appropriate; this fixture demonstrates class fallback only, not a media event simulation.
Formal Syntax & Structure
css syntaxcss
:muted { outline-color: blue; }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>:muted</title><style>body{margin:8px;font:16px/20px sans-serif;color:black;background:white}#a{outline:2px solid green}#a:muted{outline-color:blue}</style><body><video id="a" controls aria-label="Media player"></video></body></html>