xyzw
V2EX  ›  CSS

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

  •  
  •   xyzw · Aug 25, 2017 · 4313 views
    This topic created in 3357 days ago, the information mentioned may be changed or developed.
    在 IE11 下
    2 replies  •  2017-08-25 12:38:18 +08:00
    cnqncom
    cnqncom
    Aug 25, 2017❤️1
    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
    xyzw
    OP
    Aug 25, 2017
    2
    @cnqncom 谢谢,可是好像 IE11 下並沒有效果,https://codepen.io/anon/pen/rzrZpv
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3470 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 04:20 · PVG 12:20 · LAX 20:20 · JFK 23:20
    ♥ Do have faith in what you're doing.