html:active-view-transition-type(forwards, backwards) {
/* ... */
}`: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.
html:active-view-transition-type(forwards, backwards) {
/* ... */
}html:active-view-transition-type(slide):active-view-transition-type(forwards) {
/* ... */
}