criar cards de baixo desktop e mobile
This commit is contained in:
parent
e7bae0e264
commit
4eb6e17622
BIN
assets/image/Bottom-card-image-01.png
Normal file
BIN
assets/image/Bottom-card-image-01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/image/Bottom-card-image-02.png
Normal file
BIN
assets/image/Bottom-card-image-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/image/Bottom-card-image-03.png
Normal file
BIN
assets/image/Bottom-card-image-03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/image/Bottom-card-image-04.png
Normal file
BIN
assets/image/Bottom-card-image-04.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/image/image-oculos-cortado.png
Normal file
BIN
assets/image/image-oculos-cortado.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 356 KiB |
@ -114,7 +114,32 @@ body{
|
||||
grid-column: initial;
|
||||
|
||||
}
|
||||
|
||||
.bottom-cards{
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, max-content);
|
||||
background: #F0F0F0;
|
||||
gap: 16px;
|
||||
justify-content: center;
|
||||
padding: 130px 0 108px 0;
|
||||
}
|
||||
.bottom-card{
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 35px 32px 65px;
|
||||
}
|
||||
.bottom-card-image{
|
||||
display: block;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.bottom-card-description {
|
||||
max-width: 368px;
|
||||
text-align: center;
|
||||
line-height: 24px;
|
||||
font-size: 16px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
@ -151,6 +176,13 @@ body{
|
||||
grid-template-columns: 1fr;
|
||||
padding: 90px 32px 80px;
|
||||
}
|
||||
@media screen and (max-width: 1024px){
|
||||
.bottom-cards{
|
||||
grid-template-columns: 1fr;
|
||||
padding: 80px 24px 98px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
27
index.html
27
index.html
@ -27,8 +27,7 @@
|
||||
<h1 class="top-infocard-title">dolor sit amet</h1>
|
||||
<p class="top-infocard-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui. </p>
|
||||
</div>
|
||||
<img class="top-infocard-image" src="assets/image/top-infocard-image.png" alt="Banner do infocard do topo"/>
|
||||
|
||||
<img class="top-infocard-image" src="assets/image/top-infocard-image.png" alt="Banner do infocard do topo"/>
|
||||
</section>
|
||||
<section class="top-cards">
|
||||
<div class="top-card">
|
||||
@ -59,6 +58,30 @@
|
||||
</figure>
|
||||
</div>
|
||||
</section>
|
||||
<section class="bottom-cards">
|
||||
<div class="bottom-card">
|
||||
<img class="bottom-card-image" src="assets/image/Bottom-card-image-01.png" alt="Imagem do primeiro card de baixo">
|
||||
<p class="bottom-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
</div>
|
||||
<div class="bottom-card">
|
||||
<img class="bottom-card-image" src="assets/image/Bottom-card-image-02.png" alt="Imagem do segundo card de baixo">
|
||||
<p class="bottom-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
</div>
|
||||
<div class="bottom-card">
|
||||
<img class="bottom-card-image" src="assets/image/Bottom-card-image-03.png" alt="Imagem do terceiro card de baixo">
|
||||
<p class="bottom-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
</div>
|
||||
<div class="bottom-card">
|
||||
<img class="bottom-card-image" src="assets/image/Bottom-card-image-04.png" alt="Imagem do quarto card de baixo">
|
||||
<p class="bottom-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<div>
|
||||
<h2></h2>
|
||||
<p></p>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user