Adiciona os banners principais desktop e mobile

This commit is contained in:
Leonardo Pereira Rocha 2022-10-09 23:41:02 -03:00
parent 4f74f83622
commit ef9d104325
4 changed files with 25 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

@ -13,3 +13,19 @@
.header-logo{ .header-logo{
display: block; display: block;
} }
.main-banner-desktop{
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

@ -11,7 +11,15 @@
<header class="page-header"> <header class="page-header">
<a href="/"> <a href="/">
<img class="header-logo" src="./assets/img/Logo_M3.png" alt="Logo M3"> <img class="header-logo" src="./assets/img/Logo_M3.png" alt="Logo M3">
</a> </a>
</header> </header>
<main>
<section>
<img class="main-banner-desktop"src="./assets/img/main-banner-desktop.png" alt="Banner Principal" />
<img class="main-banner-mobile"src="./assets/img/main-banner-mobile.png" alt="Banner Principal" />
</section>
</main>
</body> </body>
</html> </html>