惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

TaoSecurity Blog
TaoSecurity Blog
Jina AI
Jina AI
雷峰网
雷峰网
月光博客
月光博客
The GitHub Blog
The GitHub Blog
WordPress大学
WordPress大学
B
Blog RSS Feed
美团技术团队
C
CXSECURITY Database RSS Feed - CXSecurity.com
小众软件
小众软件
Security Latest
Security Latest
Microsoft Azure Blog
Microsoft Azure Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cybersecurity and Infrastructure Security Agency CISA
Last Week in AI
Last Week in AI
A
Arctic Wolf
Latest news
Latest news
Attack and Defense Labs
Attack and Defense Labs
I
Intezer
F
Fortinet All Blogs
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
Webroot Blog
Webroot Blog
S
Secure Thoughts
Help Net Security
Help Net Security
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
V
Visual Studio Blog
P
Proofpoint News Feed
博客园 - 【当耐特】
P
Privacy International News Feed
V
Vulnerabilities – Threatpost
Stack Overflow Blog
Stack Overflow Blog
Know Your Adversary
Know Your Adversary
云风的 BLOG
云风的 BLOG
Hacker News: Ask HN
Hacker News: Ask HN
L
LINUX DO - 最新话题
H
Help Net Security
爱范儿
爱范儿
酷 壳 – CoolShell
酷 壳 – CoolShell
S
SegmentFault 最新的问题
Forbes - Security
Forbes - Security
T
Tailwind CSS Blog
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tenable Blog
Cloudbric
Cloudbric
N
News and Events Feed by Topic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Hugging Face - Blog
Hugging Face - Blog

Max Böck | Notes

18 Jan 2024 - 14:25 12 Jan 2024 - 16:23 11 Jan 2024 - 18:11 11 Jan 2024 - 16:51 04 Jan 2023 - 13:19 22 Nov 2021 - 20:55 15 Oct 2021 - 21:12 03 Sep 2021 - 16:56 03 Sep 2021 - 16:52 08 Jul 2021 - 10:04 07 Jul 2021 - 09:04 06 Jul 2021 - 20:03 07 Apr 2021 - 12:03 07 Nov 2020 - 20:11 27 Apr 2020 - 15:27 25 Apr 2020 - 19:28 08 Feb 2020 - 16:13 26 Dec 2019 - 19:47 20 Dec 2019 - 15:23 14 Dec 2019 - 14:50 10 Dec 2019 - 11:32 22 Nov 2019 - 15:36 21 Nov 2019 - 16:37 11 Nov 2019 - 13:10 29 Sep 2019 - 14:30 12 Aug 2019 - 10:13 08 Aug 2019 - 12:46 04 Aug 2019 - 02:00 09 Jun 2019 - 02:00 01 Jun 2019 - 02:00 15 May 2019 - 02:00 22 Apr 2019 - 02:00 30 Mar 2019 - 02:00 25 Mar 2019 - 02:00 02 Mar 2019 - 02:00 11 Feb 2019 - 02:00 07 Feb 2019 - 02:00 31 Jan 2019 - 02:00 28 Jan 2019 - 02:00 24 Jan 2019 - 02:00 23 Jan 2019 - 02:00 Max Böck 11 Jan 2019 - 02:00 04 Jan 2019 - 02:00 30 Dec 2018 - 02:00 13 Dec 2018 - 02:00 04 Dec 2018 - 02:00 Max Böck
04 Mar 2019 - 02:00
Max Böck · 2019-03-04 · via Max Böck | Notes

Usually, when writing print CSS, you would want to omit background-color declarations to improve readability (and save ink).

I had a case at work today though where I actually needed them to print. It was used in some progress indicators that didn’t make any sense without it. But some browsers ignore background-color by default in print, unless the user selects otherwise.

If you absolutely have to override that, there’s -webkit-print-color-adjust: exact.
It only works in Chrome and Safari though.

-webkit-print-color-adjust on MDN