feat: Ajuste banner desktop e mobile

This commit is contained in:
Vitor Soares 2022-10-10 16:36:15 -03:00
parent f1086b2770
commit ccd9f86aa6
3 changed files with 20 additions and 0 deletions

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

@ -22,3 +22,16 @@ body {
.header-logo { .header-logo {
display: block; display: block;
} }
/*Adiciona banner principal*/
.main-banner {
display: block;
width: 100%;
}
/*Media Querie*/
@media screen and (max-width: 414px) {
.main-banner {
content: url('../imagens/main-banner-mobile.png');
}
}

View File

@ -18,5 +18,12 @@
<img class="header-logo" src="assets/imagens/logo-m3.svg" alt="Logo M3" /> <img class="header-logo" src="assets/imagens/logo-m3.svg" alt="Logo M3" />
</a> </a>
</header> </header>
<main>
<!--Adiciona banner principal-->
<figure>
<img class="main-banner" src="assets/imagens/main-banner.png" alt="Banner Principal" />
</figure>
</main>
</body> </body>
</html> </html>