carloswinter #1
BIN
assets/images/img/topcard1.png
Normal file
BIN
assets/images/img/topcard1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 965 B |
BIN
assets/images/img/topcard2.png
Normal file
BIN
assets/images/img/topcard2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
assets/images/img/topcard3.png
Normal file
BIN
assets/images/img/topcard3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
@ -60,9 +60,29 @@ body{
|
||||
}
|
||||
.topinfo-img{
|
||||
margin-top:70px;
|
||||
|
||||
}
|
||||
|
||||
.topcards{
|
||||
margin: 0 25%;
|
||||
}
|
||||
.topcards-wrapper{
|
||||
margin-top: 178px;
|
||||
margin-bottom: 80px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap:21px;
|
||||
}
|
||||
.topcard{
|
||||
padding: 46px 26px 27px;
|
||||
text-align: center;
|
||||
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
||||
}
|
||||
.topcard-text{
|
||||
min-width: 300px;
|
||||
margin-top: 38px;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1439px){
|
||||
.topinfo-texts{
|
||||
@ -92,6 +112,20 @@ body{
|
||||
.topinfo-img{
|
||||
width: 75%;
|
||||
}
|
||||
.topcards{
|
||||
margin: 0 10%;
|
||||
}
|
||||
.topcards-wrapper{
|
||||
margin-top: 90px;
|
||||
margin-bottom: 80px;
|
||||
flex-direction:column;
|
||||
gap:24px;
|
||||
}
|
||||
|
||||
.topcard-text{
|
||||
min-width: 0;
|
||||
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 2500px){
|
||||
.topinfo-subtitle{
|
||||
@ -117,7 +151,13 @@ body{
|
||||
text-align: center;
|
||||
}
|
||||
.topinfo-img{
|
||||
width: 20%;
|
||||
width: 13%;
|
||||
}
|
||||
|
||||
.topcard-text{
|
||||
font-weight: 400;
|
||||
font-size: 32px;
|
||||
line-height: 48px;
|
||||
}
|
||||
|
||||
}
|
24
index.html
24
index.html
@ -24,14 +24,38 @@
|
||||
</section>
|
||||
<section class="topinfo">
|
||||
<div class="topinfo-texts">
|
||||
<article>
|
||||
<h2 class="topinfo-subtitle">Lorem ipsum</h2>
|
||||
<h1 class="topinfo-title">dolor sit amet</h1>
|
||||
<p class="topinfo-text">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>
|
||||
</article>
|
||||
</div>
|
||||
<figure class="figuretopinfo">
|
||||
<img src="./assets/images/img/topinfopcs.png" class="topinfo-img" alt="Imagem do topo">
|
||||
</figure>
|
||||
</section>
|
||||
<section class="topcards">
|
||||
<div class="topcards-wrapper">
|
||||
<div class="topcard">
|
||||
<figure>
|
||||
<img src="./assets/images/img/topcard1.png" alt="Primeira imagem dos cards">
|
||||
<figcaption class="topcard-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
<div class="topcard">
|
||||
<figure>
|
||||
<img src="./assets/images/img/topcard2.png" alt="Segunda imagem dos cards">
|
||||
<figcaption class="topcard-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
<div class="topcard">
|
||||
<figure>
|
||||
<img src="./assets/images/img/topcard3.png" alt="Terceira imagem dos cards">
|
||||
<figcaption class="topcard-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user