Adiciona banner desktop e mobile

This commit is contained in:
Douglas Vinicius Nobrega 2022-10-08 00:24:17 -03:00
parent 195b5e8b20
commit 5d5c58a1b5
4 changed files with 15 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

View File

@ -20,8 +20,9 @@ body {
display: block;
}
.main-banner {
.main-banner, .middle-banner {
width: 100%;
display: block;
}
.top-infocard {
@ -83,8 +84,11 @@ body {
line-height: 24px;
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
.main-banner-desktop,
.middle-banner-desktop {
display: none;
}
}
@ -122,7 +126,8 @@ body {
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
.main-banner-mobile,
.middle-banner-mobile {
display: none;
}
}

View File

@ -44,7 +44,7 @@
</section>
<section class="top-cards">
<section class="top-cards">
<div class="top-card">
<img class="top-card-image" src="assets/images/top-card-image-01.png" alt="Imagem do Primeiro Card do Topo"/>
<p class="top-card-description">
@ -65,9 +65,13 @@
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</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 Principal Mobile"/>
</section>
</main>
</body>
</html>