Compare commits
2 Commits
14beae872b
...
2927e1cddf
Author | SHA1 | Date |
---|---|---|
Aevann | 2927e1cddf | |
Aevann | 70cf319041 |
|
@ -8,6 +8,7 @@
|
|||
.click-confetti {
|
||||
position: fixed;
|
||||
animation: bang 700ms ease-out forwards;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.click-confetti > i {
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
document.addEventListener('click', function(e) {
|
||||
|
||||
if (e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLInputElement)
|
||||
return;
|
||||
|
||||
function random(max){
|
||||
return Math.random() * (max - 0) + 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue