Last active
January 12, 2016 09:45
-
-
Save flyfy1/fc6208d57e3bbd7fba4e to your computer and use it in GitHub Desktop.
Body.no-scoll test
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
<html> | |
<head> | |
<title>Test Body No Scoll</title> | |
<style> | |
body{ | |
background-color: black; | |
color: white; | |
} | |
</style> | |
</head> | |
<body> | |
<script> | |
console.log('This is javascript :)') | |
const b = document.getElementsByTagName('body')[0] | |
var content = ''; | |
for(var i = 0 ; i < 100 ; i++){ | |
content += ('<p>This is line #' + i + '</p>') | |
} | |
b.innerHTML = content; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment