Print Page Breaks in CSS


Control page breaks in print mode with page-break-before, page-break-after, and page-break-inside.

Source Code

.page-break {
    page-break-before: always; /* Add a page break before the element */
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments