feature/footer - Projeto Finalizado #2

Merged
josecarloslins merged 10 commits from feature/footer into main 2022-10-11 00:42:27 +00:00
5 changed files with 72 additions and 0 deletions
Showing only changes of commit dfa42d42b2 - Show all commits

Binary file not shown.

After

Width:  |  Height:  |  Size: 962 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -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%;

View File

@ -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>