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{
|
||||
padding: 73px 0 65px;
|
||||
|
@ -27,7 +27,9 @@
|
||||
<main>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
@ -68,6 +70,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user