是什么原因导致CSS盒子伪造中的束缚?如何防止它?

发布于 2025-02-03 05:00:29 字数 678 浏览 2 评论 0原文

具体来说,我们在Google Chrome中看到了这个问题。

相关的CSS是:box-shadow:RGB(67 66 66)0PX 0PX 0PX 1PX,RGB(18 18 18)0PX 0.125REM 0.75REM,RGB(18 18 18)0PX 0.5REM 2.5REM 2.5REM;

这是与对比度相关的问题,以防万一它在每个人的监视器上都不可见(请参见下文):

“在此处输入映像”

原始:

是什么原因造成的?可以预防吗?

Specifically we see this issue in Google Chrome.

The relevant CSS is: box-shadow: rgb(67 66 66) 0px 0px 0px 1px, rgb(18 18 18) 0px 0.125rem 0.75rem, rgb(18 18 18) 0px 0.5rem 2.5rem;

Here's the issue with the contrast boosted in case it might not be visible on everyone's monitor (see below for original):

enter image description here

The original:

enter image description here

What causes this? Can it be prevented?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文