Last active
August 20, 2018 10:52
-
-
Save thanh4890/c480154efb411189d2050fd5bdf8f42f 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<style> | |
.bd-loading { | |
display: none; | |
} | |
<style> | |
<link rel="preload" href="style.css"> | |
<script async src="script.js"> | |
</head> | |
<body class="bd-loading"> | |
<script> | |
setTimeout(function () { | |
document.body.classList.remove('bd-loading') | |
}, 1000) | |
</script> | |
</body> | |
</html> |
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
.bd-loading { | |
display: block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment