Skip to content

Instantly share code, notes, and snippets.

@basedwon
basedwon / dark-pdf.js
Last active November 30, 2021 11:20
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;