pseudo-element
::cue — CSS reference
Styles rendered WebVTT cues associated with a media element. Only a restricted set of declarations applies. A caption track and enabled captions are required for actual rendering. Do not remove captions or their legibility.
Formal Syntax & Structure
css syntaxcss
::cue { color: yellow; }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>::cue</title><style>body{margin:8px;font:16px/20px sans-serif;color:black;background:white}::cue{color:yellow}</style><body><video id="a" controls aria-label="Captioned media"></video></body></html>