douglasnobrega #1

Merged
Douglas-Vinicius-Nobrega merged 5 commits from douglasnobrega into main 2022-10-08 17:59:12 +00:00
5 changed files with 73 additions and 2 deletions
Showing only changes of commit 195b5e8b20 - Show all commits

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -54,6 +54,35 @@ body {
font-size: 16px;
}
.top-cards {
background-color: #F0F0F0;
display: flex;
justify-content: center;
gap: 40px;
padding: 74px 0;
}
.top-card{
display: flex;
flex-direction: column;
align-items: center;
padding: 26px 26px 34px;
background-color: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image {
display: block;
margin-bottom: 26px;
}
.top-card-description {
max-width: 300px;
text-align: center;
font-size: 16px;
line-height: 24px;
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
@ -75,7 +104,7 @@ body {
}
.top-infocard-title {
margin-bottom: 20px;
margin-bottom: 27px;
font-size: 28px;
}
@ -97,3 +126,19 @@ body {
display: none;
}
}
@media screen and (max-width: 768px){
.top-cards {
display: flex;
flex-direction: column;
gap: 17px;
padding: 36px 26px;
}
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
.top-cards {
display: grid;
grid-template-columns: repeat(2, max-content);
}
}

View File

@ -8,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Document</title>
<title>M3 Academy Atividade</title>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet"/>
@ -41,7 +41,33 @@
</div>
<img class="top-infocard-image" src="assets/images/top-infocard-image.png" alt="Banner do infocard do topo"/>
</section>
<section class="top-cards">
<div class="top-card">
<img class="top-card-image" src="assets/images/top-card-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/top-card-image-02.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/top-card-image-03.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>
</section>
</main>
</body>
</html>