PdfCSS:Test: Difference between revisions

From creative crowd wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
}
}
@page cover{
@page cover{
background-color: coral;
}
}
body{
body{
Line 16: Line 16:
page: cover;
page: cover;
break-after: always;
break-after: always;
background-color: coral;
}
}
div.cover h1{
div.cover h1{

Revision as of 13:27, 8 December 2022

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