Print-friendly CSS


Tailor your webpage for print using media queries to adjust colors, hide elements, and change fonts.

Source Code

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