Adiciona o banner principal mobile
This commit is contained in:
parent
5d438878ad
commit
29d0d4b897
@ -20,4 +20,18 @@
|
|||||||
.main-banner {
|
.main-banner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@media screen and (max-width: 414px) {
|
||||||
|
.main-banner-desktop{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 415px) {
|
||||||
|
.main-banner-mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
@ -16,7 +16,8 @@
|
|||||||
|
|
||||||
<main>
|
<main>
|
||||||
<section>
|
<section>
|
||||||
<img class="main-banner" src="./assests/images/main-banner-desktop.png" alt="Banner principal">
|
<img class="main-banner main-banner-desktop" src="./assests/images/main-banner-desktop.png" alt="Banner principal desktop">
|
||||||
|
<img class="main-banner main-banner-mobile" src="./assests/images/main-banner-mobile.png" alt="Banner principal mobile">
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user