【CSS】The website page turns gray

高洛峰
Release: 2017-02-21 11:30:08
Original
1877 people have browsed it

Makes all elements of the website gray. It is supported by all browsers and uses filters. It is more performance-intensive. It is recommended to be used as a temporary solution.

【CSS 】网站页面变灰

The CSS code is as follows:

body{
  -webkit-filter:grayscale(100%);
  -moz-filter:grayscale(100%);
  -ms-filter:grayscale(100%);
  -o-filter:grayscale(100%);
  filter:grayscale(100%);
  filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
  filter:gray;
  -webkit-transform: translateZ(0);
}
Copy after login


##More [CSS] The website page turns gray. For related articles, please pay attention to the PHP Chinese website!

Related labels:
css
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template