: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

'Dawnie' used to say, "It's really quite simple: Be kind, and the rest takes care of itself. Never do anything that's not kind".


Dawn Atherton
Random CSS Property

text-transform

The text-transform CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. It also can help improve legibility for ruby.
text-transform css reference