Adiciona o banner principal mobile

This commit is contained in:
Guilherme Carvalho da Rosa 2022-10-12 18:40:29 -03:00
parent 5d438878ad
commit 29d0d4b897
2 changed files with 16 additions and 1 deletions

View File

@ -21,3 +21,17 @@
width: 100%; width: 100%;
display: block; display: block;
} }
@media screen and (max-width: 414px) {
.main-banner-desktop{
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
display: none;
}
}

View File

@ -16,7 +16,8 @@
<main> <main>
<section> <section>
<img class="main-banner" src="./assests/images/main-banner-desktop.png" alt="Banner principal"> <img class="main-banner main-banner-desktop" src="./assests/images/main-banner-desktop.png" alt="Banner principal desktop">
<img class="main-banner main-banner-mobile" src="./assests/images/main-banner-mobile.png" alt="Banner principal mobile">
</section> </section>
</main> </main>