PdfCSS:Test: Difference between revisions

From creative crowd wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
/*}*/
/*}*/
@page{
@page{
size: A4 portrait;
size: 290mm 420mm;
margin: 290mm 420mm;
margin: 15mm;
@top-left {
@top-left {

Revision as of 15:46, 12 January 2023

/*:root {*/
/*	--color-paper: white;*/
/*}*/
@page{
	size: 290mm 420mm;
	margin: 15mm;
	
	@top-left {
		content: "something";
	}
}
@page:first{
	background: coral;
}
body{
	/*background-color: pink;*/
	color: red;
}
div.cover{
	break-after: always;
}
div.cover h1{
	font-size: 52px;
}
div.article{
	break-before: always;
}
span.tocnumber,
div.pad{
	display: none;
}