V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Can I use?
http://caniuse.com/
Less
http://lesscss.org
Cool Libraries
Bootstrap from Twitter
Jetstrap
xyzw
V2EX  ›  CSS

有沒有什么办法可以把全页面转成黑白色?

  •  
  •   xyzw · 2017-08-25 09:57:45 +08:00 · 2979 次点击
    这是一个创建于 2407 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在 IE11 下
    2 条回复    2017-08-25 12:38:18 +08:00
    cnqncom
        1
    cnqncom  
       2017-08-25 10:00:42 +08:00   ❤️ 1
    html {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
    _filter:none;
    }
    xyzw
        2
    xyzw  
    OP
       2017-08-25 12:38:18 +08:00
    @cnqncom 谢谢,可是好像 IE11 下並沒有效果,https://codepen.io/anon/pen/rzrZpv
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1025 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 19:34 · PVG 03:34 · LAX 12:34 · JFK 15:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.