feat: adiciona banner principal mobile

This commit is contained in:
Emerson Lins Costa Pinto 2022-10-12 15:34:44 -03:00
parent a85914f313
commit c0dbee5660
4 changed files with 6 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

View File

@ -86,7 +86,7 @@
}
@media screen and (max-width:820px) {
@media screen and (max-width:1024px) {
.main-title{
padding: 73px 0 65px;

View File

@ -27,7 +27,9 @@
<main>
<picture>
<img class="main-banner" src="assets/imagens/banner-principal.png" alt="banner m3">
<source media="(max-width: 1024px)" srcset="assets/imagens/banner-principal-mobile.png">
<img class="main-banner" src="assets/imagens/banner-principal-desktop.png" alt="banner m3">
</picture>
@ -68,6 +70,8 @@
</div>
</div>
</section>
</main>
</body>