Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The :past
CSS pseudo-class selector is a time-dimensional pseudo-class that will match for any element which appears entirely before an element that matches :current
. For example in a video with captions which are being displayed by WebVTT.
:past(p, span) { display: none; }