Optimized javascript and anchor links.

This commit is contained in:
Bob Vandevliet 2024-06-13 14:26:33 +02:00
parent 827f6cb876
commit dc8012e8c8
4 changed files with 74 additions and 35 deletions

View file

@ -39,4 +39,19 @@ section.hero video {
height: 100%;
object-fit: cover;
z-index: -1;
}
.anchor-link {
text-decoration: none;
opacity: 0;
transition: opacity 0.2s;
}
h1:hover .anchor-link,
h2:hover .anchor-link,
h3:hover .anchor-link,
h4:hover .anchor-link,
h5:hover .anchor-link,
h6:hover .anchor-link {
opacity: 1;
}