feat: responsividade de telas menores concluida

This commit is contained in:
Ramon Dias Ferreira 2022-10-13 19:17:18 -03:00
parent ef0e810107
commit c706789f3e
2 changed files with 58 additions and 6 deletions

View File

@ -180,16 +180,25 @@ header {
footer{ footer{
display: flex; display: flex;
flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
text-align: center; text-align: center;
width: 100%; width: 100%;
height: 128px; height: 130px;
background-color: #000000; background-color: #000000;
} }
.social{
display: flex;
width: 100%;
justify-content: center;
align-items: center;
text-align: center;
}
.social-networks{ .social-networks{
width: 1.3%; width: 6%;
margin: 20px; margin: 20px;
} }
@ -199,6 +208,7 @@ footer{
footer p{ footer p{
color: #ffffff; color: #ffffff;
width: 63%;
} }
@media (max-width: 1024px) { @media (max-width: 1024px) {
@ -213,6 +223,7 @@ footer p{
.banner-top-mob{ .banner-top-mob{
width: 100%; width: 100%;
height: 598px;
} }
.network{ .network{
@ -225,7 +236,7 @@ footer p{
} }
.card, .card-small{ .card, .card-small{
width: 85%; width: 85%;
height: 332px; height: 380px;
} }
.card-img, .img-card-small{ .card-img, .img-card-small{
@ -239,7 +250,14 @@ footer p{
.computers-area{ .computers-area{
display: grid; display: grid;
grid-template-columns: repeat(2,1fr); grid-template-columns: repeat(2,1fr);
justify-items: center
} }
.computers-img{
width: 89%;
margin: 14px;
}
#item1{ #item1{
grid-area: 1/2/1/2; grid-area: 1/2/1/2;
} }
@ -252,6 +270,30 @@ footer p{
.information-code{ .information-code{
display: grid; display: grid;
justify-items: center
}
.computer-code{
grid-area: 1/1/1/1;
width: 100%;
}
.banner-bottom{
visibility: hidden;
width: 0px;
position: relative;
}
.banner-bottom-mob{
width: 100%;
height: 414px;
}
.information-code p{
width: 85%;
}
.information-code p{
width: 85%;
} }
} }
@ -262,4 +304,10 @@ footer p{
width: 0px; width: 0px;
position: absolute; position: absolute;
} }
.banner-bottom-mob{
visibility: hidden;
width: 0px;
position: fixed;
}
} }

View File

@ -98,17 +98,19 @@
</p> </p>
</div> </div>
</section> </section>
<section class="information-code"> <div class="information-code">
<h1>Lorem ipsum dolor sit amet</h1> <h1>Lorem ipsum dolor sit amet</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus interdum. In eget tincidunt ipsum. <p>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. 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> Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.</p>
<figure class="computer-code"> <figure class="computer-code">
<img src="./assets/images/banner 2.png" alt="comptador ofuscado"/> <img class="banner-bottom-mob" src="./assets/images/banner 2-mob.png" alt="comptador ofuscado e oculos no cenario"/>
<img class="banner-bottom" src="./assets/images/banner 2.png" alt="comptador ofuscado"/>
</figure> </figure>
</section> </div>
</main> </main>
<footer> <footer>
<div class="social">
<a class="social-networks" href="https://www.instagram.com/m3.ecommerce/"> <a class="social-networks" href="https://www.instagram.com/m3.ecommerce/">
<img src="./assets/images/instagram.png" alt="icone instagram"/> <img src="./assets/images/instagram.png" alt="icone instagram"/>
</a> </a>
@ -118,6 +120,8 @@
<a class="social-networks" href="https://www.youtube.com/channel/UCW4o86gZG_ceA8CmHltXeXA"> <a class="social-networks" href="https://www.youtube.com/channel/UCW4o86gZG_ceA8CmHltXeXA">
<img src="./assets/images/youtube 2.png" alt="icone youtube"/> <img src="./assets/images/youtube 2.png" alt="icone youtube"/>
</a> </a>
</div>
<p> <p>
Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00 Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p> </p>