0% found this document useful (0 votes)
19 views

Console Note

The document contains JavaScript code to create a div element and apply CSS styles to position it as a fixed layer covering the entire viewport with a white background using mix-blend-mode to create a difference effect.

Uploaded by

piyush
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Console Note

The document contains JavaScript code to create a div element and apply CSS styles to position it as a fixed layer covering the entire viewport with a white background using mix-blend-mode to create a difference effect.

Uploaded by

piyush
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

javascript:(function(){var cover = document.

createElement("div");var 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);}());

You might also like