@media different screen print code example
Example 1: print media css
@media print {
/* styling goes here */
.example {
display: none;
}
}
Example 2: print media query css
@media print {
/* All your print styles go here */
#header, #footer, #nav { display: none !important; }
}