xyzw
V2EX  ›  CSS

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

  •  
  •   xyzw · Aug 25, 2017 · 4314 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   ·   5071 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 08:33 · PVG 16:33 · LAX 00:33 · JFK 03:33
    ♥ Do have faith in what you're doing.