PdfCSS:Test: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
:root { | :root { | ||
--color-paper: | --color-paper: white; | ||
} | } | ||
@page{ | @page{ | ||
size: A4 portrait; | size: A4 portrait; | ||
margin: 25mm 15mm; | margin: 25mm 15mm; | ||
} | |||
@page cover{ | |||
background-color: lavender; | |||
} | } | ||
body{ | body{ | ||
Line 11: | Line 14: | ||
} | } | ||
div.cover{ | div.cover{ | ||
page: cover; | |||
break-after: always; | break-after: always; | ||
} | } |