Last active
December 22, 2019 15:42
-
-
Save akinov/82a9fbad56957337eeb740e050c34d31 to your computer and use it in GitHub Desktop.
大量にゴリラを生成できるスクリプト
This file contains hidden or 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
for (let i = 0; i < 300; i++) { | |
const d = document.createElement('span'); | |
d.innerHTML = '🦍'; | |
d.style.fontSize = '50px'; | |
d.style.position = 'absolute'; | |
d.style.zoom = Math.random(); | |
d.style.top = Math.random() * 100 + '%'; | |
d.style.left = Math.random() * 100 + '%'; | |
document.body.appendChild(d); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment