ADD: optimize images
This commit is contained in:
parent
4d0615923d
commit
bd945e1ea9
91 changed files with 48 additions and 266 deletions
|
@ -29,6 +29,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (width <= 430px) {
|
||||
.Intro {
|
||||
.intro-img{
|
||||
width: 430px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (width < 900px) {
|
||||
.Intro {
|
||||
grid-template-columns: 1fr;
|
||||
|
|
|
@ -24,7 +24,10 @@
|
|||
<Button href="#services" class="cta" label="Lass mal reden" />
|
||||
</div>
|
||||
<div class="intro-img">
|
||||
<img src="/profile.webp" alt="Bild von mir" />
|
||||
<picture>
|
||||
<source media="(min-width: 431px)" srcset="/img/profile_big.webp" />
|
||||
<img src="/img/profile_small.webp" alt="Bild von mir" />
|
||||
</picture>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue