在悲伤的日子里,很多大型网站会把网站整体置灰,或者把首页置灰,怎么做到的呢,肯定不是一个一个来设置,只用在外层容器上加个css即可。 html { filter: grayscale(); } 就这么简单。 当然为了更好的兼容性,我们可能需要多写一点。 html { -webkit-filter: grayscale(100%); -moz-filter: