CSS :left pseudo-class
- Pagina precedente :last-of-type
- Pagina successiva :link
- Torna al livello superiore Manuale di riferimento dei pseudo-classe CSS
Definition and usage
CSS :left
Pseudo-classes are used to select and set the styles of all left pages in the printed document.
Tip::left
Pseudo-classes with @page rules.
Note:The following properties can be used together with :left
Used together:
- Margin properties
- Padding properties
- Border properties
- Background properties
Example
Select all left pages for printing:
@page :left { margin-left: 40%; margin-top: 50%; }
CSS syntax
@page :left { css declarations; }
Technical details
Version: | CSS3 |
---|
Browser support
The numbers in the table indicate the first browser version that fully supports this pseudo-class.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
6 | 12 | Not supported | 5 | 9.2 |
Related pages
Riferimento:CSS :first pseudo-class
Riferimento:Pseudo-classe CSS :right
- Pagina precedente :last-of-type
- Pagina successiva :link
- Torna al livello superiore Manuale di riferimento dei pseudo-classe CSS