Feature: added text-bottom-infocard mobile/desktop
This commit is contained in:
parent
0e9cd7734f
commit
5fb1ac62fb
BIN
Assets/Images/Banner-bottom-mobile.png
Normal file
BIN
Assets/Images/Banner-bottom-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 246 KiB |
BIN
Assets/Images/Bannner-bottom-desktop.png
Normal file
BIN
Assets/Images/Bannner-bottom-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 360 KiB |
@ -111,10 +111,8 @@ body{
|
|||||||
.bottom-cards{
|
.bottom-cards{
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 178px 30px 80px;
|
padding: 178px 30px 108px;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom-card{
|
.bottom-card{
|
||||||
@ -124,13 +122,30 @@ body{
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
gap: 30px;
|
gap: 30px;
|
||||||
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
|
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){
|
@media screen and (max-width: 414px){
|
||||||
.banner-principal-desktop,
|
.banner-principal-desktop,
|
||||||
@ -141,7 +156,9 @@ body{
|
|||||||
.infocard-image-mobile{
|
.infocard-image-mobile{
|
||||||
display: unset;
|
display: unset;
|
||||||
}
|
}
|
||||||
|
.text-bottom-infocard{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px){
|
@media screen and (max-width: 768px){
|
||||||
@ -166,8 +183,6 @@ body{
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 112px 23px 98px;
|
padding: 112px 23px 98px;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
.bottom-card{
|
.bottom-card{
|
||||||
max-width: 350px;
|
max-width: 350px;
|
||||||
|
19
index.html
19
index.html
@ -1,8 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com"/>
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
|
||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||||
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<link rel="stylesheet" href="./Styles/index.css"/>
|
<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>
|
<title>Desafio M3 Academy</title>
|
||||||
|
|
||||||
@ -124,6 +124,19 @@
|
|||||||
</div>
|
</div>
|
||||||
</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>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user