Adiciona os banners principais desktop e mobile
This commit is contained in:
parent
590e3c6a8d
commit
eeb3a27f06
BIN
assets/images/png/main-banner-desktop.png
Normal file
BIN
assets/images/png/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/images/png/main-banner-mobile.png
Normal file
BIN
assets/images/png/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 331 KiB |
@ -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;}
|
||||
}
|
@ -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>
|
Loading…
Reference in New Issue
Block a user