Adiciona Top Info cards e Top Cards desktop
This commit is contained in:
parent
28e8f38f1d
commit
23953b8401
BIN
assets/images/coin.png
Normal file
BIN
assets/images/coin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/images/notebook1.png
Normal file
BIN
assets/images/notebook1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 232 KiB |
BIN
assets/images/notebook2.png
Normal file
BIN
assets/images/notebook2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 212 KiB |
BIN
assets/images/notebook3.png
Normal file
BIN
assets/images/notebook3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 318 KiB |
BIN
assets/images/shop.png
Normal file
BIN
assets/images/shop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 965 B |
BIN
assets/images/shopping-bag.png
Normal file
BIN
assets/images/shopping-bag.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
@ -27,5 +27,62 @@ body{
|
||||
|
||||
.top-infocard{
|
||||
display: flex;
|
||||
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
max-width: 100%;
|
||||
padding-top: 4%;
|
||||
}
|
||||
|
||||
.top-infocard-text{
|
||||
width: 40.25%;
|
||||
margin-bottom: 4.42%;
|
||||
}
|
||||
|
||||
.top-infocard-subtitle{
|
||||
font-weight: 400;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.top-infocard-title{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 3.66%;
|
||||
font-weight: 500;
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
.top-infocard-description{
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.top-infocard-image{
|
||||
width: 16.6%;
|
||||
}
|
||||
|
||||
.top-cards{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-self: center;
|
||||
margin-top: 9.4%;
|
||||
gap: 2%;
|
||||
}
|
||||
|
||||
.top-card-images{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding-bottom: 10%;
|
||||
}
|
||||
|
||||
.top-card{
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.23);
|
||||
width: 18.4%;
|
||||
padding: 2%;
|
||||
}
|
||||
|
||||
.top-card-description{
|
||||
text-align: center;
|
||||
}
|
26
index.html
26
index.html
@ -13,12 +13,16 @@
|
||||
<body>
|
||||
<header class="header">
|
||||
<a href="">
|
||||
<figure>
|
||||
<img class="header-logo" src="./assets/images//LogoM3Academy.svg" alt="logo M3">
|
||||
</figure>
|
||||
</a>
|
||||
</header>
|
||||
<main>
|
||||
<section class="banner-desktop">
|
||||
<figure>
|
||||
<img class="banner-desktop-img" src="./assets/images/top-banner.png" alt="Banner principal">
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
<section class="top-infocard">
|
||||
@ -29,6 +33,28 @@
|
||||
</div>
|
||||
<img class="top-infocard-image" src="./assets/images/Computadores.png" alt="Infocard">
|
||||
</section>
|
||||
|
||||
<section class="top-cards">
|
||||
<div class="top-card">
|
||||
<figure class="top-card-images">
|
||||
<img src="/assets/images/shop.png" alt="shop">
|
||||
</figure>
|
||||
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
</div>
|
||||
<div class="top-card">
|
||||
<figure class="top-card-images">
|
||||
<img src="/assets/images/shopping-bag.png" alt="bag">
|
||||
</figure>
|
||||
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
</div>
|
||||
<div class="top-card">
|
||||
<figure class="top-card-images">
|
||||
<img src="/assets/images/coin.png" alt="coin">
|
||||
</figure>
|
||||
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user