:future
Quick Summary for :future
The :future CSS pseudo-class selector is a time-dimensional pseudo-class that will match for any element which appears entirely after an element that matches :current. For example in a video with captions which are being displayed by WebVTT.
Code Usage for :future
:future(p, span) {   display: none; } 
More Details for :future

:future

The :future CSS pseudo-class selector is a time-dimensional pseudo-class that will match for any element which appears entirely after an element that matches :current. For example in a video with captions which are being displayed by WebVTT.

:future(p, span) {   display: none; } 

Syntax

:future

Examples

CSS

:future(p, span) {   display: none; } 

HTML

<video controls preload="metadata">   <source src="video.mp4" type="video/mp4" />   <source src="video.webm" type="video/webm" />   <track label="English" kind="subtitles" srclang="en" src="subtitles.vtt" default> </video> 

WebVTT

WEBVTT FILE  1 00:00:03.500 --> 00:00:05.000 This is the first caption  2 00:00:06.000 --> 00:00:09.000 This is the second caption  3 00:00:11.000 --> 00:00:19.000 This is the third caption 

Specifications

Specification
Selectors Level 4 # the-future-pseudo

See also

Web Video Text Tracks Format (WebVTT) :current :past

Last modified: Jan 24, 2022, by MDN contributors

Select your preferred language English (US)Français Change language

No Items Found.

Add Comment
Type in a Nick Name here
 
Other Categories in CSS
css
Search CSS
Search CSS by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
If you work on something a little bit every day, you end up with something that is massive.
Kenneth Goldsmith
Random CSS Property

font-style

The font-style CSS descriptor allows authors to specify font styles for the fonts specified in the @font-face rule.
font-style (@font-face) css reference