feat: adiciona fist inforcard

This commit is contained in:
Gabriel Bernardini 2022-10-13 17:56:33 -03:00
parent dec929e87e
commit f47ba7f1e7
3 changed files with 51 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -29,6 +29,45 @@ body {
width: 100%;
}
.first-infocard {
display: block;
text-align: center;
}
.first-infocard-text {
display: flex;
align-items: center;
flex-direction: column;
padding: 73px 0 73px 0;
}
.first-infocard-subtitle {
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
line-height: 39px;
}
.first-infocard-title {
text-transform: uppercase;
font-size: 48px;
font-weight: 500;
line-height: 58px;
}
.first-infocard-description {
max-width: 766px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding-top: 28px;
}
.first-infocard-image {
margin-bottom: 180px;
}
@media screen and (max-width: 415px) {
.image-main-desktop {
content: url(../imagem/banner-main-mobile.png);

View File

@ -26,6 +26,18 @@
<img class="image-main image-main-desktop" src="assets/imagem/banner-main.png" alt="Notebook em cima da mesa mostando códigos" />
</div>
<section class="first-infocard">
<div class="first-infocard-text">
<h2 class="first-infocard-subtitle">Lorem ipsum</h2>
<h1 class="first-infocard-title">dolor sit amet</h1>
<p class="first-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="first-infocard-image" src="assets/imagem/fist-infocard-image.png" alt="3 computadores compartilhando informações" />
</main>
</body>
</html>