css media query print code example
Example 1: print media css
@media print {
/* styling goes here */
.example {
display: none;
}
}
Example 2: media query in css
@media screen and (min-width: 374px){
section#rent_sectionn {
padding: 0 20px !important;
}
}
Example 3: print media query css
@media print {
/* All your print styles go here */
#header, #footer, #nav { display: none !important; }
}