PdfCSS:Test: Difference between revisions

From creative crowd wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
margin: 25mm 15mm;
margin: 25mm 15mm;
}
}
@page cover{
@page:first{
background: coral;
background: coral;
}
}

Revision as of 13:28, 8 December 2022

:root {
	--color-paper: white;
}
@page{
	size: A4 portrait;
	margin: 25mm 15mm;
}
@page:first{
	background: coral;
}
body{
	background-color: pink;
	color: red;
}
div.cover{
	page: cover;
	break-after: always;
}
div.cover h1{
	font-size: 52px;
}
div.pad{
	display: none;
}