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' });
|
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>
|
<script>
|
||||||
window.addEventListener('scroll', () => {
|
window.addEventListener('scroll', () => {
|
||||||
const header = document.querySelector('.md-header');
|
const header = document.querySelector('.md-header');
|
||||||
|
@ -25,15 +34,6 @@ title: Start
|
||||||
});
|
});
|
||||||
</script>
|
</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
|
<video autoplay loop muted playsinline
|
||||||
style="position: absolute; left: 0;
|
style="position: absolute; left: 0;
|
||||||
height: 77vh; width: 100%;
|
height: 77vh; width: 100%;
|
||||||
|
|
Loading…
Reference in New Issue