:past
Limited availability94% of users
A selector used with WebVTT subtitles to style the text that has already been spoken in the current video caption.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Firefox yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick example
video::cue(:past) {
/* Dims the subtitles that have already been played */
color: gray;
}:past browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage94%of people can use this6% use a browser without it.
Browsers
23+
7+
79+Mobile
25+Android
7+iOS