V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
jin7
V2EX  ›  前端开发

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

  •  
  •   jin7 · 2017-10-03 19:59:20 +08:00 · 2482 次点击
    这是一个创建于 2390 天前的主题,其中的信息可能已经有所发展或是发生改变。

    这里有个测试视觉对比度的网站, 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.

    这句话不明白啥意思.

    8 条回复    2017-10-04 11:03:45 +08:00
    iConnect
        1
    iConnect  
       2017-10-03 20:06:06 +08:00 via Android
    简单讲,就是背景不能用半透明(准确讲,应该是不能设置背景的透明度)。
    iConnect
        2
    iConnect  
       2017-10-03 20:07:56 +08:00 via Android
    前端开发经常会遇到这种图片规范啊,图层不能设置透明度。
    ho121
        3
    ho121  
       2017-10-03 20:15:44 +08:00
    jin7
        4
    jin7  
    OP
       2017-10-03 21:04:40 +08:00
    @iConnect @ho121
    我再好好琢磨一下 thanks
    flaneurse
        5
    flaneurse  
       2017-10-03 21:09:31 +08:00
    改成.5 以下对比度就变成红色啦
    lightening
        6
    lightening  
       2017-10-03 21:21:21 +08:00
    当背景使用半透明色彩时,(给出的)对比度会有一个误差范围(下面的+/-值),因为它们(用作背景的半透明色彩)可能被叠加在各种不同的颜色上。
    xzpjerry731
        7
    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
        8
    jin7  
    OP
       2017-10-04 11:03:45 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2574 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 04:22 · PVG 12:22 · LAX 21:22 · JFK 00:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.