Fade loading
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<h1 class="title">WhyKorp</h1>
|
<h1 class="title">WhyKorp</h1>
|
||||||
</header>
|
</header>
|
||||||
<style>
|
<style>
|
||||||
html {
|
div.container {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 1s;
|
transition: opacity 1s;
|
||||||
}
|
}
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load", function() {
|
window.addEventListener("load", function() {
|
||||||
document.querySelector("html").classList.add("show");
|
document.querySelector("div").classList.add("show");
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<div class="nav">
|
<div class="nav">
|
||||||
|
|||||||
Reference in New Issue
Block a user