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{
|
.top-infocard-image{
|
||||||
width: 100%;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
width: 32.5vmin;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-cards{
|
.top-cards{
|
||||||
@ -73,7 +75,7 @@ body{
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
max-width: 18.4%;
|
width: 36.2vmin;
|
||||||
padding: 1.9% 0 1.4%;
|
padding: 1.9% 0 1.4%;
|
||||||
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
||||||
}
|
}
|
||||||
@ -82,6 +84,10 @@ body{
|
|||||||
padding: 0 0 6%;
|
padding: 0 0 6%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.top-card-image{
|
||||||
|
width: 10.4vmin;
|
||||||
|
}
|
||||||
|
|
||||||
.top-card-description{
|
.top-card-description{
|
||||||
max-width: 86%;
|
max-width: 86%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -91,25 +97,18 @@ body{
|
|||||||
padding: 0 7.4%;
|
padding: 0 7.4%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.middle-images{
|
||||||
|
background: #E0E0E0;
|
||||||
|
|
||||||
@media screen and (max-width: 414px){
|
|
||||||
.main-banner-desktop{
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 415px){
|
.middle-images-wrapper{
|
||||||
.main-banner-mobile{
|
display: flex;
|
||||||
display: none;
|
justify-content: center;
|
||||||
}
|
gap: 2%;
|
||||||
|
position: relative;
|
||||||
|
bottom: -62px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px){
|
.middle-image{
|
||||||
.top-infocard-subtitle{
|
width: 58.5vmin;
|
||||||
font-size: 20px;
|
|
||||||
line-height: 24px;
|
|
||||||
margin: 0 138px;
|
|
||||||
}
|
|
||||||
}
|
}
|
17
index.html
17
index.html
@ -24,7 +24,6 @@
|
|||||||
<section>
|
<section>
|
||||||
<figure>
|
<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-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>
|
</figure>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@ -64,7 +63,21 @@
|
|||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</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>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user