media quries for printing css code example
Example: print media query css
@media print {
/* All your print styles go here */
#header, #footer, #nav { display: none !important; }
}
@media print {
/* All your print styles go here */
#header, #footer, #nav { display: none !important; }
}