css style print code example
Example 1: css print
@page {
margin: 0.5cm;
}
Example 2: print css
/* print.css */
* {
background-image: none !important;
}
img, svg {
display: none !important;
}
img.print, svg.print {
display: block;
max-width: 100%;
}