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

@ -12,4 +12,20 @@
.header-logo{
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

@ -10,8 +10,16 @@
<body>
<header class="page-header">
<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>
</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>
</html>