Adiciona o banner do meio desktop e mobile

This commit is contained in:
Nicolas Oliveira 2022-10-07 17:42:35 -03:00
parent f097f70548
commit 58817f7398
4 changed files with 13 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 947 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

View File

@ -20,7 +20,9 @@ body {
display: block; display: block;
} }
.main-banner { .main-banner,
.middle-banner {
display: block;
width: 100%; width: 100%;
} }
@ -133,16 +135,16 @@ body {
} }
@media screen and (max-width: 414px) { @media screen and (max-width: 414px) {
.main-banner-desktop { .main-banner-desktop,
.middle-banner-desktop {
display: none; display: none;
} }
} }
@media screen and (min-width: 415px) { @media screen and (min-width: 415px) {
.main-banner-mobile { .main-banner-mobile,
.middle-banner-mobile {
display: none; display: none;
} }
} }

View File

@ -22,7 +22,7 @@
<main> <main>
<section> <section>
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner principal Desktop"> <img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner principal Desktop">
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner principal Desktop"> <img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner principal Mobile">
</section> </section>
<section class="top-infocard"> <section class="top-infocard">
@ -49,6 +49,11 @@
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p> <p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
</div> </div>
</section> </section>
<section>
<img class="middle-banner middle-banner-desktop" src="./assets/images/middle-banner-desktop.png" alt="Banner do meio Desktop">
<img class="middle-banner middle-banner-mobile" src="./assets/images/middle-banner-mobile.png" alt="Banner do meio Mobile">
</section>
</main> </main>
</body> </body>
</html> </html>