pseudo-class

:seeking — CSS reference

Matches media while its playback position is being changed. 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
:seeking { outline-color: blue; }

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>:seeking</title><style>body{margin:8px;font:16px/20px sans-serif;color:black;background:white}#a{outline:2px solid green}#a:seeking{outline-color:blue}</style><body><video id="a" controls aria-label="Media player"></video></body></html>
CSS Reference