forked from M3-Academy/challenge-landing-page
feature/footer - Projeto Finalizado #2
BIN
assets/images/info-card-middle-image-01.png
Normal file
BIN
assets/images/info-card-middle-image-01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 962 B |
BIN
assets/images/info-card-middle-image-02.png
Normal file
BIN
assets/images/info-card-middle-image-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
assets/images/info-card-middle-image-03.png
Normal file
BIN
assets/images/info-card-middle-image-03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
@ -64,6 +64,37 @@ body{
|
||||
padding-bottom: 72px;
|
||||
}
|
||||
|
||||
.top-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, max-content);
|
||||
gap: 20px;
|
||||
justify-content: center;
|
||||
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
|
||||
.top-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
||||
|
||||
padding: 26px 26px 34px;
|
||||
}
|
||||
|
||||
.top-card-image {
|
||||
display: block;
|
||||
margin-bottom: 26px;
|
||||
}
|
||||
|
||||
.top-card-description {
|
||||
max-width: 300px;
|
||||
text-align: center;
|
||||
line-height: 24px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
/* RESPONSIVIDADE */
|
||||
|
||||
@ -79,6 +110,24 @@ body{
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px){
|
||||
.top-infocard {
|
||||
padding-bottom: 90px;
|
||||
}
|
||||
|
||||
.top-cards {
|
||||
grid-template-columns: 1fr;
|
||||
padding: 36px 32px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) and (max-width: 1200px) {
|
||||
.top-cards {
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
padding: 36px 26px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.top-infocard-text {
|
||||
width: 100%;
|
||||
|
23
index.html
23
index.html
@ -35,5 +35,28 @@
|
||||
|
||||
<img class="top-infocard-image" src="./assets/images/image-infocard-topo.png" alt="Banner do Infocard do Topo" />
|
||||
</section>
|
||||
|
||||
<section class="top-cards">
|
||||
<div class="top-card">
|
||||
<img class="top-card-image" src="./assets/images/info-card-middle-image-01.png" alt="Imagem do Primeiro Card do Topo">
|
||||
<p class="top-card-description">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="top-card">
|
||||
<img class="top-card-image" src="./assets/images/info-card-middle-image-02.png" alt="Imagem do Segundo Card do Topo">
|
||||
<p class="top-card-description">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="top-card">
|
||||
<img class="top-card-image" src="./assets/images/info-card-middle-image-03.png" alt="Imagem do Terceiro Card do Topo">
|
||||
<p class="top-card-description">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user