: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.
Syntax
/* Usage 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.
23+
7+
79+