Print CSS Background Colours

Ever wonder how to set the background colour for the page when printing via CSS?

@media print {
     .container-with-background-color {
         background-color: black;
         -webkit-print-color-adjust: exact; 

Sourced here.

Leave a Reply

Posted in CSS
katherine as a flat graphic icon

About Me

I’m an African / Ojibwe First Nations Web Developer living in Winnipeg, Manitoba.

Visit the Tips and Blog to see what I’m working on.