Mpdf - Different Background For First Page
I am using MPDF to generate PDF-files out of HTML code. Unfortunately, the layout for the first page is different from the rest of the pages. Is there any way to give the first pag
Solution 1:
<style>
@page :first {
background: url("http://example.com/first.svg") 50% 0 repeat;
}
@page {
background: url("http://example.com/page.svg") 50% 0 repeat;
}
...
</style>
Post a Comment for "Mpdf - Different Background For First Page"