PdfCSS:Test: Difference between revisions

From creative crowd wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
color: red;
color: red;
}
}
div.cover{
div.cover,
page: cover;
div.article{
break-after: always;
break-after: always;
}
}

Revision as of 13:29, 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,
div.article{
	break-after: always;
}
div.cover h1{
	font-size: 52px;
}
div.pad{
	display: none;
}