forked from M3-Academy/challenge-landing-page
fix(mobile): revretendo a coluna do bottonwarp
adicionei uma nova div e fiz um display flez + flex direction columns reverse para mudar a posição dos elementos Bottomdescription e downBannerBox no mobile
This commit is contained in:
parent
43dccccf97
commit
d7427f18f2
@ -141,7 +141,7 @@ background: #000000;
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
}
|
}
|
||||||
.BotomDescription{
|
.BottomDescription{
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -153,11 +153,8 @@ background: #000000;
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 158px;
|
height: 158px;
|
||||||
width: 550px;
|
|
||||||
}
|
}
|
||||||
.BotdescriptionTitlte{
|
.BotdescriptionTitlte{
|
||||||
width: 420px;
|
|
||||||
height: 39px;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
@ -170,8 +167,6 @@ background: #000000;
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
.downBannerBox{
|
.downBannerBox{
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -179,7 +174,7 @@ background: #000000;
|
|||||||
padding: 50px 0 106px;
|
padding: 50px 0 106px;
|
||||||
}
|
}
|
||||||
.lastBanner{
|
.lastBanner{
|
||||||
width: 70%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.footer{
|
.footer{
|
||||||
padding: 38px 0;
|
padding: 38px 0;
|
||||||
@ -274,15 +269,17 @@ background: #000000;
|
|||||||
.img3{
|
.img3{
|
||||||
grid-area:img3;
|
grid-area:img3;
|
||||||
}
|
}
|
||||||
.BotomDescription{
|
.BottomDescription{
|
||||||
justify-items: center;
|
padding: 50px 0 87px;
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
.footerText{
|
.footerText{
|
||||||
max-width: 280px;
|
max-width: 280px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
.bottomwarp{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column-reverse;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@media screen and (min-width: 1024px) {
|
@media screen and (min-width: 1024px) {
|
||||||
.MainBannerMobile,.footermob{
|
.MainBannerMobile,.footermob{
|
||||||
|
28
index.html
28
index.html
@ -112,19 +112,21 @@
|
|||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
<section class="BotomDescription">
|
<div class="bottomwarp">
|
||||||
<div class="BlockText">
|
<section class="BottomDescription">
|
||||||
<h2 class="BotdescriptionTitlte">Lorem ipsum dolor sit amet</h2>
|
<div class="BlockText">
|
||||||
<p class="Botdescription">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus interdum. In eget tincidunt ipsum.
|
<h2 class="BotdescriptionTitlte">Lorem ipsum dolor sit amet</h2>
|
||||||
Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis.
|
<p class="Botdescription">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus interdum. In eget tincidunt ipsum.
|
||||||
Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.
|
Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis.
|
||||||
</p>
|
Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.
|
||||||
</div>
|
</p>
|
||||||
</section>
|
</div>
|
||||||
<figure class="downBannerBox">
|
</section>
|
||||||
<img class="footerDesk lastBanner" src="/assets/Image/óculos-desktop.png" alt="Imagem oculos desktop">
|
<figure class="downBannerBox">
|
||||||
<img class="footermob lastBanner" src="/assets/Image/óculos moible.png" alt="Imagem oculos mobile">
|
<img class="footerDesk lastBanner" src="/assets/Image/óculos-desktop.png" alt="Imagem oculos desktop">
|
||||||
</figure>
|
<img class="footermob lastBanner" src="/assets/Image/óculos moible.png" alt="Imagem oculos mobile">
|
||||||
|
</figure>
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
Loading…
Reference in New Issue
Block a user