Skip to content

Instantly share code, notes, and snippets.

Last active Nov 30, 2021
What would you like to do?
Dark PDF
const cover = document.createElement("div")
const css = `
position: fixed;
pointer-events: none;
top: 56px;
left: 18.1%;
width: 63.7vw;
height: 100vh;
background-color: #f3f3f3;
mix-blend-mode: difference;
z-index: 1;
cover.setAttribute('style', css)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment