Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mcdaqc/a3082035e3c5e95cf2281d53e7c90aeb to your computer and use it in GitHub Desktop.
Save mcdaqc/a3082035e3c5e95cf2281d53e7c90aeb to your computer and use it in GitHub Desktop.
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);
@mcdaqc
Copy link
Author

mcdaqc commented Aug 18, 2022

Run code in F12 console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment