Adiciona o primeiro banner mobile desktop

This commit is contained in:
Yan Pecanha Garriga 2022-10-09 23:38:08 -03:00
parent 275a08fa07
commit fd8c5c5cee
2 changed files with 29 additions and 1 deletions

View File

@ -1,10 +1,33 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.page-header { .page-header {
display: flex; display: flex;
justify-content: center; justify-content: center;
background: #000000; background: #000000;
padding: 28px 0; padding: 29px 0;
} }
.header-logo { .header-logo {
display: block; display: block;
} }
.main-banner {
width: 100%;
display: block;
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (min-width: 768px) {
.main-banner-mobile {
display: none;
}
}

View File

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