Basic use
example.css
.badge {
print-color-adjust: exact;
-webkit-print-color-adjust: exact;
}
The print-color-adjust property tells the browser whether it may tweak colors for printing. Use exact when backgrounds must remain visible on paper.
.badge {
print-color-adjust: exact;
-webkit-print-color-adjust: exact;
}.badge {
print-color-adjust: exact;
-webkit-print-color-adjust: exact;
}print-color-adjust is a CSS property.
Check support for your audience.
Bottom line: Prefer progressive enhancement when support varies.
Continue with text-wrap.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful