: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

Limited availability94% global usage

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Not ready for production without a fallback.

23+
7+
79+
ESC