Adiciona banners principais desktop e mobile

This commit is contained in:
Cainã Milech 2022-10-08 09:49:50 -03:00
parent 083bba2e79
commit bca2331e16
4 changed files with 25 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

View File

@ -15,3 +15,20 @@
display: block;
}
.main-banner {
width: 100%;
}
@media screen and (max-width: 414px) { /*esse pixel pq é o tamanho maximo da imagem banner mobile*/
.main-banner-desktop{
display: none;
}
}
@media screen and (min-width: 415px) { /*esse pixel pq é o tamanho maximo da imagem banner mobile*/
.main-banner-mobile{
display: none;
}
}

View File

@ -16,7 +16,13 @@
<a href="/">
<img class="header-logo" src="assets/images/m3-logo.png" alt="Logo M3" />
</a>
</header>
<main>
<section>
<img class="main-banner main-banner-desktop" src="/assets/images/main-banner-desktop.png" alt="Banner principal desktop" />
<img class="main-banner main-banner-mobile" src="/assets/images/main-banner-mobile.png" alt="Banner principal mobile" />
</section>
</main>
</body>
</html>