Print Media Query for User-Friendly Prints in CSS


Optimize web pages for printing using print media queries.

Source Code

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