Fix
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5db7f697e6
commit
d68dd20d65
|
@ -76,7 +76,8 @@ window.addEventListener('scroll', () => {
|
|||
">
|
||||
</div>
|
||||
|
||||
<!-- Förgrundsbild -->
|
||||
|
||||
<!-- Förgrundsbild
|
||||
<img src="assets/SL6CV.jpg"
|
||||
style="
|
||||
position: absolute;
|
||||
|
@ -87,6 +88,28 @@ window.addEventListener('scroll', () => {
|
|||
width: auto;
|
||||
z-index: -1;
|
||||
">
|
||||
-->
|
||||
|
||||
<!-- Förgrundsbild med korrekt skalförhållande -->
|
||||
<div style="
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: -1;
|
||||
">
|
||||
<img src="assets/SL6CV.jpg" style="
|
||||
max-height: 100vh;
|
||||
max-width: 100vw;
|
||||
width: auto;
|
||||
height: auto;
|
||||
">
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Scrollknapp -->
|
||||
<button id="scrollButton" onclick="scrollToContent()"
|
||||
|
@ -97,10 +120,6 @@ window.addEventListener('scroll', () => {
|
|||
↓
|
||||
</button>
|
||||
|
||||
<!--
|
||||
<img src="assets/SL6CV.jpg" alt="Beskrivning" style="width: 100%; height: auto;" />
|
||||
-->
|
||||
|
||||
<!-- Mellanrum -->
|
||||
<div style="height: 95vh;"></div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue