CSS :left Pseudo-Class
- Vorherige Seite :last-of-type
- Nächste Seite :link
- Zurück zur übergeordneten Ebene CSS-Pseudo-klassenerreferenzhandbuch
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 and @page Rules together.
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 specify the first browser version that fully supports this pseudo-class.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
6 | 12 | Not Supported | 5 | 9.2 |
Related Pages
Referenz:CSS :first Pseudo-Class
Referenz:CSS :right Pseudo-Klasse
- Vorherige Seite :last-of-type
- Nächste Seite :link
- Zurück zur übergeordneten Ebene CSS-Pseudo-klassenerreferenzhandbuch