:future

A pseudo-class used with WebVTT (video subtitles). It targets subtitle cues that are scheduled to appear 'in the future' relative to the current playback time.

Quick example

video::cue:future {
  /* Hides or dims upcoming subtitles */
  color: transparent;
  background: none;
}

:future Browser Support

Widely available Since 2015 94% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

Safe to use without fallbacks.

23+
7+
79+
ESC