forked from M3-Academy/challenge-landing-page
feat: adiciona banner principal mobile
This commit is contained in:
parent
a85914f313
commit
c0dbee5660
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
BIN
assets/imagens/banner-principal-mobile.png
Normal file
BIN
assets/imagens/banner-principal-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 332 KiB |
@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width:820px) {
|
@media screen and (max-width:1024px) {
|
||||||
|
|
||||||
.main-title{
|
.main-title{
|
||||||
padding: 73px 0 65px;
|
padding: 73px 0 65px;
|
||||||
|
@ -27,7 +27,9 @@
|
|||||||
<main>
|
<main>
|
||||||
|
|
||||||
<picture>
|
<picture>
|
||||||
<img class="main-banner" src="assets/imagens/banner-principal.png" alt="banner m3">
|
<source media="(max-width: 1024px)" srcset="assets/imagens/banner-principal-mobile.png">
|
||||||
|
<img class="main-banner" src="assets/imagens/banner-principal-desktop.png" alt="banner m3">
|
||||||
|
|
||||||
</picture>
|
</picture>
|
||||||
|
|
||||||
|
|
||||||
@ -68,6 +70,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user