Fix
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a0720bbc23
commit
1136df09e6
|
@ -11,6 +11,15 @@ title: Start
|
|||
window.scrollTo({ top: y, behavior: 'smooth' });
|
||||
}
|
||||
|
||||
// Göm knappen vid scroll
|
||||
window.addEventListener('scroll', () => {
|
||||
const button = document.getElementById('scrollButton');
|
||||
if (window.scrollY > 10) {
|
||||
button.style.display = 'none';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
window.addEventListener('scroll', () => {
|
||||
const header = document.querySelector('.md-header');
|
||||
|
@ -25,15 +34,6 @@ title: Start
|
|||
});
|
||||
</script>
|
||||
|
||||
// Göm knappen vid scroll
|
||||
window.addEventListener('scroll', () => {
|
||||
const button = document.getElementById('scrollButton');
|
||||
if (window.scrollY > 10) {
|
||||
button.style.display = 'none';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<video autoplay loop muted playsinline
|
||||
style="position: absolute; left: 0;
|
||||
height: 77vh; width: 100%;
|
||||
|
|
Loading…
Reference in New Issue