forked from M3-Academy/challenge-landing-page
Merge pull request 'develop/landingPage' (#9) from develop/landingPage into main
Reviewed-on: #9
This commit is contained in:
commit
eec24f7482
BIN
assets/imgs/bottom-infocard-desktop.png
Normal file
BIN
assets/imgs/bottom-infocard-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 360 KiB |
BIN
assets/imgs/bottom-inforcard-mobile.png
Normal file
BIN
assets/imgs/bottom-inforcard-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 246 KiB |
21
index.html
21
index.html
@ -106,6 +106,27 @@
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="bottom-infocards">
|
||||
<div class="bottom-infocard-text">
|
||||
<h2 class="bottom-infocard-title">Lorem ipsum dolor sit amet</h2>
|
||||
<p class="bottom-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>
|
||||
<figure class="container-infocard-img">
|
||||
<img class="bottom-infocard-img bottom-infocard-img-desktop" src="assets/imgs/bottom-infocard-desktop.png"
|
||||
alt="Banner inforcard desktop">
|
||||
<img class="bottom-infocard-img bottom-infocard-img-mobile" src="assets/imgs/bottom-inforcard-mobile.png"
|
||||
alt="Banner infocard mobile">
|
||||
</figure>
|
||||
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<body>
|
||||
|
@ -117,6 +117,50 @@
|
||||
padding-bottom: 17px;
|
||||
}
|
||||
|
||||
.main .bottom-infocards {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin-top: 108px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.main .bottom-infocard-title {
|
||||
text-align: center;
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.main .bottom-infocard-text {
|
||||
align-self: center;
|
||||
text-align: center;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.main .bottom-infocard-description {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.main .container-infocard-img {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.main .bottom-infocard-img {
|
||||
display: block;
|
||||
align-self: center;
|
||||
margin-bottom: 116px;
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.main .bottom-infocard-img-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* --------------------------------------- */
|
||||
|
||||
/* Banner-desktop / Banner-mobile*/
|
||||
@ -229,3 +273,33 @@
|
||||
padding: 0 23px;
|
||||
}
|
||||
}
|
||||
|
||||
/*Bottom infocards*/
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.main .bottom-infocards {
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
|
||||
.main .bottom-infocard-img {
|
||||
width: 100%;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.main .bottom-infocard-text {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.main .bottom-infocard-title {
|
||||
font-size: 24px;
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
|
||||
.main .bottom-infocard-img-desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main .bottom-infocard-img-mobile {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user