Question : How to print in a different background color.
Answered by : rich-rabbit-vfx2oo15w3o6
body { color: black; background-color: grey;
}
@media print { body { background-color: transparent; }
}
Source : https://web.dev/learn/design/media-queries/ | Last Update : Sun, 28 Nov 21