Fixed menu animation
All checks were successful
Copy Files to Samba Share / Copy Files (push) Successful in 2m9s

This commit is contained in:
Arne
2023-07-25 21:51:32 +02:00
parent dc27106ff3
commit b57a4f1862
2 changed files with 15 additions and 8 deletions

View File

@@ -7,10 +7,10 @@
</div> </div>
<div class="menu"> <div class="menu">
<a href="#diensten">Diensten</a> <a href="#diensten">Diensten<span>Diensten</span></a>
<a href="#advies">Advies</a> <a href="#advies">Advies<span>Advies</span></a>
<a href="#klantworden">Klant worden</a> <a href="#klantworden">Klant worden<span>Klant worden</span></a>
<a href="#wiezijnwe">Over ons</a> <a href="#wiezijnwe">Over ons<span>Over ons</span></a>
<a href="#vacatures">Vacatures</a> <a href="#vacatures">Vacatures<span>Vacatures</span></a>
<a href="#contact">Contact</a> <a href="#contact">Contact<span>Contact</span></a>
</div> </div>

View File

@@ -44,11 +44,18 @@
margin: auto; margin: auto;
padding: 1.5rem 3rem; padding: 1.5rem 3rem;
font-weight: normal; font-weight: normal;
transition: all .2s; transition: all .1s;
span {
display: block;
font-weight: 800;
height: 0px;
overflow: hidden;
}
} }
a:hover { a:hover {
font-weight: 800; font-weight: 800;
transition: all .2s; transition: all .1s;
} }
} }