MDN self-hosted library · e01.org

`:active-view-transition-type()` CSS pseudo-class

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
html:active-view-transition-type(forwards, backwards) {
  /* ... */
}
css
html:active-view-transition-type(forwards, backwards) {
  /* ... */
}
css
html:active-view-transition-type(slide):active-view-transition-type(forwards) {
  /* ... */
}