CSS :past Selector

❮ Previous Selectors Next ❯

Example

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

Meaning

The :past selector is a time-dimensional pseudo-class that will match for any element which appears entirely before an element that matches :current.

Version: CSS3




Standard Syntax

:past {
  css declarations;
}



Browser Support

The numbers in the table specify the first browser version that fully supports the property.




Status







❮ Previous Selectors Next ❯