adicionando banner central desktop e mobile

This commit is contained in:
Ana Carolina Duarte Cavalcante 2022-10-07 16:38:50 -03:00
parent deb375eb87
commit fdda25d019
4 changed files with 19 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

View File

@ -60,6 +60,13 @@
margin: 27px 0;
}
.banner-desktop, .banner-mobile {
width: 100%;
height: auto;
position: relative;
}
@media screen and (max-width: 415px) {
.main_banner_desktop {
display: none;
@ -101,10 +108,18 @@
justify-content: space-around;
}
.banner-desktop {
display: none;
}
}
@media screen and (min-width: 415px) {
.main_banner_mobile {
display: none;
}
.banner-mobile {
display: none;
}
}

View File

@ -56,5 +56,9 @@
</div>
</section>
<section class="banner-container">
<img src="./assets/img/Rectangle 13 desktop.png" alt="banner desktop" class="banner-desktop">
<img src="./assets/img/Rectangle 13 mobile.png" alt="banner mobile" class="banner-mobile">
</section>
</body>
</html>