To enable background printing in Chrome:
body {
-webkit-print-color-adjust: exact !important;
}
More Related Contents:
- What is the exact screen width and height of a phone? [duplicate]
- Media Queries: How to target desktop, tablet, and mobile?
- Can media queries resize based on a div element instead of the screen?
- What is the difference between max-device-width and max-width for mobile web?
- What is the difference between “screen” and “only screen” in media queries?
- Twitter Bootstrap 3: how to use media queries?
- CSS media queries: max-width OR max-height
- Common breakpoints for media queries on a responsive site
- Nesting @media rules in CSS
- Should I use max-device-width or max-width?
- Media query to detect if device is touchscreen
- What are the rules for CSS media query overlap?
- CSS native variables not working in media queries
- @Media min-width & max-width
- CSS specificity, Media Queries and min-width
- CSS media queries – Order matters?
- Responsive css styles on mobile devices ONLY
- Media query not working in IE9
- Which are the most important media queries to use in creating mobile responsive design?
- CSS media queries min-width and min-device-width conflicting?
- calc() not working within media queries
- How to detect if the OS is in dark mode in browsers?
- How to make responsive table [closed]
- How to code CSS media queries targeting ALL mobile devices and tablets?
- How to control number of items per row using media queries in Flexbox?
- Media Query grouping instead of multiple scattered media queries that match
- Bootstrap – Removing padding or margin when screen size is smaller
- Media queries and background images
- Media Queries – Mobile vs Desktop Browser
- @media media query and ASP.NET MVC razor syntax clash