pseudo-element

::cue() — CSS reference

Selects matching markup inside a rendered WebVTT cue, not matching HTML descendants of video. Here the selector targets bold cue spans. A caption track and enabled captions are required for actual rendering. Do not remove captions or their legibility.

Formal Syntax & Structure

css syntaxcss
::cue(b) { 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(b){color:yellow}</style><body><video id="a" controls aria-label="Captioned media"></video></body></html>
CSS Reference