Adiciona os banners principais desktop e mobile

This commit is contained in:
Robson Tito de Paula Ferreira 2022-10-13 03:14:29 -03:00
parent 590e3c6a8d
commit eeb3a27f06
4 changed files with 30 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 KiB

View File

@ -1,6 +1,6 @@
* {
margin: 0;
padding: 0;
margin: 0%;
padding: 0%;
box-sizing: border-box;
}
@ -8,5 +8,26 @@
display: flex;
justify-content: center;
padding: 28px 0;
background: #000000
background: #000000
}
.header-logo {
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,11 @@
<img class="header-logo" src="./assets/images/svg/Logo-M3Academy-1.svg" alt="Logo M3 Academy" />
</a>
</header>
<main>
<section>
<img class="main-banner main-banner-desktop" src="./assets/images/png/main-banner-desktop.png" alt="banner principal">
<img class="main-banner main-banner-mobile" src="./assets/images/png/main-banner-mobile.png" alt="banner principal">
</section>
</main>
</body>
</html>