print media css example
Example 1: print media css
@media print {
/* styling goes here */
.example {
display: none;
}
}
Example 2: css print
@page {
margin: 0.5cm;
}
@media print {
/* styling goes here */
.example {
display: none;
}
}
@page {
margin: 0.5cm;
}