MDN self-hosted library · e01.org

`:right` 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
/* Selects any right-hand pages when printing */
@page :right {
  margin: 2in 3in;
}
css
:right {
  /* ... */
}
css
@page :right {
  margin: 2in 3in;
}