一句英语看不懂, 求助万能的 v 友.

2017-10-03 19:59:20 +08:00
 jin7

这里有个测试视觉对比度的网站, http://leaverou.github.io/contrast-ratio/

它上面有一些说明.

As you type, the contrast ratio indicated will update. Hover over the circle to get more detailed information. When semi-transparent colors are involved as backgrounds, the contrast ratio will have an error margin, to account for the different colors they may be over.

其中 When semi-transparent colors are involved as backgrounds, the contrast ratio will have an error margin, to account for the different colors they may be over.

这句话不明白啥意思.

2487 次点击
所在节点    前端开发
8 条回复
iConnect
2017-10-03 20:06:06 +08:00
简单讲,就是背景不能用半透明(准确讲,应该是不能设置背景的透明度)。
iConnect
2017-10-03 20:07:56 +08:00
前端开发经常会遇到这种图片规范啊,图层不能设置透明度。
ho121
2017-10-03 20:15:44 +08:00
jin7
2017-10-03 21:04:40 +08:00
@iConnect @ho121
我再好好琢磨一下 thanks
flaneurse
2017-10-03 21:09:31 +08:00
改成.5 以下对比度就变成红色啦
lightening
2017-10-03 21:21:21 +08:00
当背景使用半透明色彩时,(给出的)对比度会有一个误差范围(下面的+/-值),因为它们(用作背景的半透明色彩)可能被叠加在各种不同的颜色上。
xzpjerry731
2017-10-03 23:16:09 +08:00
感觉他后一个逗号加多了。。。“ When semi-transparent colors are involved as backgrounds, the contrast ratio will have an error margin to account for the different colors they may be over.” 这下顺眼了吧
jin7
2017-10-04 11:03:45 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/395312

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX