Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var cover = document.createElement("div");
- let css = `
- position: fixed;
- pointer-events: none;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- background-color: white;
- mix-blend-mode: difference;
- z-index: 1;
- `
- cover.setAttribute("style", css);
- document.body.appendChild(cover);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement