Print Stylesheet Adjustments in CSS


Optimize pages for printing using a separate print stylesheet or media query.

Source Code

@media print {
    body {
        font-size: 12pt;
        color: #000;
    }
    .no-print {
        display: none;
    }
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments