Adiciona os banners principais desktop e mobile

This commit is contained in:
Yan Pecanha Garriga 2022-10-07 15:22:12 -03:00
parent af255d7c3a
commit da436c8998
4 changed files with 24 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

View File

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

View File

@ -17,5 +17,12 @@
<img class="header-logo" src="./assets/images/m3-logo.png" alt="Logo M3" /> <img class="header-logo" src="./assets/images/m3-logo.png" alt="Logo M3" />
</a> </a>
</header> </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> </body>
</html> </html>