Adiciona banner middle desktop e mobile

This commit is contained in:
Cainã Milech 2022-10-09 10:24:16 -03:00
parent 259d6c3686
commit e6bf0ee62d
4 changed files with 11 additions and 3 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 {
@ -87,7 +88,8 @@ body {
@media screen and (max-width: 414px) { /*esse pixel pq é o tamanho maximo da imagem banner mobile*/
.main-banner-desktop{
.main-banner-desktop,
.middle-banner-desktop{
display: none;
}
}
@ -139,7 +141,8 @@ body {
@media screen and (min-width: 415px) { /*esse pixel pq é o tamanho maximo da imagem banner mobile*/
.main-banner-mobile{
.main-banner-mobile,
.middle-banner-mobile{
display: none;
}
}

View File

@ -61,6 +61,11 @@
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
</div>
</div>
<div>
<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" />
</div>
</main>
</body>
</html>