forked from M3-Academy/challenge-landing-page
Adiciona Middle Banners
This commit is contained in:
parent
f958b2f551
commit
990cffadac
BIN
assets/images/Middle-Image-01.png
Normal file
BIN
assets/images/Middle-Image-01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 236 KiB |
BIN
assets/images/Middle-Image-02.png
Normal file
BIN
assets/images/Middle-Image-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 213 KiB |
BIN
assets/images/Middle-Image-03.png
Normal file
BIN
assets/images/Middle-Image-03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 317 KiB |
@ -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;
|
||||
}
|
15
index.html
15
index.html
@ -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>
|
||||
|
||||
@ -65,6 +64,20 @@
|
||||
</p>
|
||||
</div>
|
||||
</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>
|
Loading…
Reference in New Issue
Block a user