Feat(main): Cria Css top-infocard

This commit is contained in:
Rhayllon Daudt 2022-10-10 21:48:27 -03:00
parent 1483aa68e3
commit 65feb2806d
2 changed files with 41 additions and 3 deletions

View File

@ -20,3 +20,41 @@ body{
width: 100%;
display: block;
}
.top-infocard{
display: flex;
align-items: center;
text-align: center;
justify-content: center;
flex-direction: column;
}
.top-infocard-text{
width: 40%;
padding: 72px 0;
}
.top-infocard-subtitle{
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.top-infocard-image{
width: 17%;
padding: 0 0 178px;
}

View File

@ -24,7 +24,7 @@
</figure>
</div>
<Section>
<section class="top-infocard">
<div class="top-infocard-text">
<h2 class="top-infocard-subtitle">Lorem ipsum</h2>
<h1 class="top-infocard-title">dolor sit amet</h1>
@ -33,9 +33,9 @@
</p>
</div>
<img src="./assets/images/top-infocard-image.png" alt="Tres icones de computadores interligados por setas" />
<img class="top-infocard-image" src="./assets/images/top-infocard-image.png" alt="Tres icones de computadores interligados por setas" />
</Section>
</section>
</main>