Adiciona os banner principais desktop e mobile
This commit is contained in:
parent
6fd2029769
commit
ce0989f087
@ -17,3 +17,18 @@
|
|||||||
display: block;
|
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;
|
||||||
|
}
|
||||||
|
}
|
Before Width: | Height: | Size: 570 KiB After Width: | Height: | Size: 570 KiB |
BIN
_assets/img/main-banner-mobile.jpg
Normal file
BIN
_assets/img/main-banner-mobile.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 230 KiB |
@ -16,5 +16,12 @@
|
|||||||
<img class="header-logo" src="./_assets/img/logo_m3.svg" alt="Logo M3" />
|
<img class="header-logo" src="./_assets/img/logo_m3.svg" alt="Logo M3" />
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<section>
|
||||||
|
<img class="main-banner main-banner-desktop" src="./_assets/img/main-banner-desktop.jpg" alt="Banner principal Desktop" />
|
||||||
|
<img class="main-banner main-banner-mobile" src="./_assets/img/main-banner-mobile.jpg" alt="Banner principal Mobile" />
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user