Home >Web Front-end >CSS Tutorial >Filters that make web pages black and white_Experience exchange

Filters that make web pages black and white_Experience exchange

PHP中文网
PHP中文网Original
2016-05-16 12:05:571605browse

filters that make web pages black and white_experience exchange:

<style>      
html { filter:progid:dximagetransform.microsoft.basicimage(grayscale=1); }      
</style>

only available in ie

<style> 
html{filter: Gray;} 
</style>

the above is to make web pages black and white color filters_experience exchange content. for more related content, please pay attention to the php chinese website (www.php.cn)!


Statement:
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