Feature: added text-bottom-infocard mobile/desktop

This commit is contained in:
Thaís Ferreira Caetano de Jesus 2022-10-13 12:52:21 -03:00
parent 0e9cd7734f
commit 5fb1ac62fb
4 changed files with 38 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB

View File

@ -111,10 +111,8 @@ body{
.bottom-cards{
display: flex;
justify-content: center;
padding: 178px 30px 80px;
padding: 178px 30px 108px;
gap: 16px;
}
.bottom-card{
@ -124,13 +122,30 @@ body{
align-items: center;
text-align: center;
width: 100%;
padding: 30px;
gap: 30px;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-infocard{
display: flex;
flex-direction: column;
align-items: center;
}
.text-bottom-infocard {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
width: 80%;
}
.text-bottom-infocard-title{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
@media screen and (max-width: 414px){
.banner-principal-desktop,
@ -141,7 +156,9 @@ body{
.infocard-image-mobile{
display: unset;
}
.text-bottom-infocard{
width: 100%;
}
}
@media screen and (max-width: 768px){
@ -166,8 +183,6 @@ body{
flex-direction: column;
align-items: center;
padding: 112px 23px 98px;
}
.bottom-card{
max-width: 350px;

View File

@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
@ -10,7 +10,7 @@
<link rel="stylesheet" href="./Styles/index.css"/>
<link href="https: //fonts.googleapis.com/css2? family= Inter:wght@400;500 & display=swap" rel="stylesheet"/>
<link href="https: //fonts.googleapis.com/css2? família= Inter:wght@400;500;600 & display=swap" rel="stylesheet">
<title>Desafio M3 Academy</title>
@ -124,6 +124,19 @@
</div>
</div>
<section class="bottom-infocard">
<div class="text-bottom-infocard">
<h2 class="bottom-infocard-title">
Lorem ipsum dolor sit amet
</h2>
<p class="infocard-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus interdum. In eget tincidunt ipsum.
Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis.
Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.
</p>
</div>
</section>
</main>
</body>
</html>