MDN self-hosted library · e01.org

Web Video Text Tracks Format (WebVTT)

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
::cue(b.myclass) {
  color: yellow;
}
css
video::cue(:past) {
  color: yellow;
}
video::cue(:future) {
  color: cyan;
}