<html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .gray { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); filter: gray; } </style> </head> <body> <img src="img/美容仪-1.png" /> <img src="img/美容仪-1.png" class="gray" /> </body> </html>
css实现图片置灰
猜你喜欢
转载自blog.csdn.net/feast_aw/article/details/78999907
今日推荐
周排行