I have a basic web page with a dark background and light text. Printing not only darkens the paragraph text, but the heading text too.
I would like to keep the heading text-colors. I have already tried:
- An
@media print
rule - Adding
media="all"
to the stylesheet link. - Two seperate
css
stylesheet links. One withmedia="screen"
and the othermedia="print"
Neither Firefox nor Chrome have any effect.
-webkit-print-color-adjust: exact;
does work, but only in Chrome/Webkit.
I am not trying to preserve any background-colors, only the text-colors of heading elements. Please see this jsfiddle. I am not using any bootstrap or Javascript on the page.