把下面这段代码粘贴到chrome的console里面(按F12进入),需要其他颜色可以自己修改
var cover = document.createElement("div");
let css = `
position: fixed;
pointer-events: none;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #d6f0c8;
mix-blend-mode: multiply;
z-index: 1;
`
cover.setAttribute("style", css);
document.body.appendChild(cover);
阅读(589) | 评论(0) | 转发(0) |