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