Last active
August 23, 2018 23:28
-
-
Save hogashi/1a596fcb294a2957f35440904ec2b151 to your computer and use it in GitHub Desktop.
藁半紙みたいな色ムラ出すやつ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.body.insertAdjacentHTML('afterbegin', | |
[ | |
'<div style="', | |
'position: fixed;', | |
'top: 10%;', | |
'left: 10%;', | |
'width: 80%;', | |
'height: 80%;', | |
'margin: 0;', | |
'padding: 0;', | |
'opacity: 0.3;', | |
'z-index: 9999;', | |
'background-image: linear-gradient(120deg, #faeb88, #f6f1d3, #faeb88, #f6f1d3, #faeb88, #f6f1d3, #faeb88, #f6f1d3, #faeb88, #f6f1d3, #faeb88, #f6f1d3);', | |
'"></div>' | |
].join('') | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment