I am generating a PDF for printing left-to-right.
I have a "@page LastPage" that needs to be breaked at the very end, and the end of the book.
This works perfectly, except I also need to clear out footers/headers on the last page.
The problem is the pages that are skipped when breaking do not get the @page style applied.
I have a "@page LastPage" that needs to be breaked at the very end, and the end of the book.
@page LastPage {
background: red;
}
.last-page {
page: LastPage;
page-break-before: right;
}
<div class="last-page">
end of book
</div>
This works perfectly, except I also need to clear out footers/headers on the last page.
The problem is the pages that are skipped when breaking do not get the @page style applied.
Edited by pauldotknopf