/* Selects the first page when printing */
@page :first {
margin-left: 50%;
margin-top: 50%;
}`:first` CSS pseudo-class / notebook
`:first` CSS pseudo-class
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
:first {
/* ... */
}