forked from M3-Academy/practice-time-landing-page
douglasnobrega #1
BIN
assets/images/top-card-image-01.png
Normal file
BIN
assets/images/top-card-image-01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/images/top-card-image-02.png
Normal file
BIN
assets/images/top-card-image-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
BIN
assets/images/top-card-image-03.png
Normal file
BIN
assets/images/top-card-image-03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
@ -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;
|
||||
}
|
||||
|
||||
@ -96,4 +125,20 @@ body {
|
||||
.main-banner-mobile {
|
||||
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);
|
||||
}
|
||||
}
|
28
index.html
28
index.html
@ -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>
|
Loading…
Reference in New Issue
Block a user