Only one line of code is needed for an anniversary or mourning page to turn gray

Only one line of code is needed for an anniversary or mourning page to turn gray

1. CSS code

body,html {
	filter: progid:DXImageTransform.Microsoft.BasicImage(graysale=1);
    -webkit-filter: grayscale(100%);
}

2. Graying effect

2.1, before inserting the code

Insert picture description here

2.2. After inserting the code

Insert picture description here
If you like it, please give me a thumbs up!

Guess you like

Origin blog.csdn.net/Asia1752/article/details/111190809