Adiciona Middle Banners

This commit is contained in:
danielmoliaribarbosa 2022-10-10 20:54:47 -03:00
parent f958b2f551
commit 990cffadac
5 changed files with 33 additions and 21 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 KiB

View File

@ -59,7 +59,9 @@ body{
}
.top-infocard-image{
width: 100%;
display: flex;
justify-content: center;
width: 32.5vmin;
}
.top-cards{
@ -73,7 +75,7 @@ body{
display: flex;
flex-direction: column;
align-items: center;
max-width: 18.4%;
width: 36.2vmin;
padding: 1.9% 0 1.4%;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
@ -82,6 +84,10 @@ body{
padding: 0 0 6%;
}
.top-card-image{
width: 10.4vmin;
}
.top-card-description{
max-width: 86%;
text-align: center;
@ -91,25 +97,18 @@ body{
padding: 0 7.4%;
}
@media screen and (max-width: 414px){
.main-banner-desktop{
display: none;
}
.middle-images{
background: #E0E0E0;
}
@media screen and (min-width: 415px){
.main-banner-mobile{
display: none;
}
.middle-images-wrapper{
display: flex;
justify-content: center;
gap: 2%;
position: relative;
bottom: -62px;
}
@media screen and (max-width: 768px){
.top-infocard-subtitle{
font-size: 20px;
line-height: 24px;
margin: 0 138px;
}
.middle-image{
width: 58.5vmin;
}

View File

@ -24,7 +24,6 @@
<section>
<figure>
<img class="main-banner main-banner-desktop" src="./assets/images/Banner-Top-Desktop.png" alt="Banner Principal do Desktop">
<img class="main-banner main-banner-mobile" src="./assets/images/Banner-Top-Mobile.png" alt="Banner Principal do Mobile">
</figure>
</section>
@ -64,7 +63,21 @@
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
</section>
</section>
<section class="middle-images">
<div class="middle-images-wrapper">
<figure>
<img class="middle-image" src="/assets/images/Middle-Image-01.png" alt="Primeira Imagem Middle">
</figure>
<figure>
<img class="middle-image" src="/assets/images/Middle-Image-02.png" alt="Segunda Imagem Middle">
</figure>
<figure>
<img class="middle-image" src="/assets/images/Middle-Image-03.png" alt="Terceira Imagem Middle">
</figure>
</div>
</section>
</main>
</body>
</html>