Fix
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d68dd20d65
commit
47a717bcb1
|
@ -90,7 +90,7 @@ window.addEventListener('scroll', () => {
|
||||||
">
|
">
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Förgrundsbild med korrekt skalförhållande -->
|
<!-- Förgrundsbild med responsiv skalning -->
|
||||||
<div style="
|
<div style="
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -102,14 +102,22 @@ window.addEventListener('scroll', () => {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
">
|
">
|
||||||
<img src="assets/SL6CV.jpg" style="
|
<img src="assets/SL6CV.jpg" id="main-image" style="
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
">
|
">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
#main-image {
|
||||||
|
transform: scale(1.2); /* Zooma in på större skärmar */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<!-- Scrollknapp -->
|
<!-- Scrollknapp -->
|
||||||
<button id="scrollButton" onclick="scrollToContent()"
|
<button id="scrollButton" onclick="scrollToContent()"
|
||||||
|
|
Loading…
Reference in New Issue