resposividade do infocard1

This commit is contained in:
Marcos Vinicio Gratival Guimarães 2022-10-12 15:38:36 -03:00
parent a26af44f9a
commit d44d469ebc
2 changed files with 94 additions and 2 deletions

View File

@ -3,6 +3,12 @@
padding: 0;
box-sizing:border-box;
}
body{
font-family: 'inter', sans-serif;
color: #000000;
}
.pageheader{
background-color: #000000;
height: 101px;
@ -23,14 +29,86 @@
width: 100%;
}
.infocard1{
display: flex;
align-items: center;
flex-direction: column;
margin: 88px;
}
.infocard-text{
display: flex;
align-items: center;
flex-direction: column;
max-width: 766px;
}
.infocard-text1{
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
font-family: 'inter';
}
.infocard-text2{
font-family: 'inter';
font-style: normal;
line-height: 58px;
font-size: 48px;
font-weight: 500;
text-transform: uppercase;
margin: 0;
}
.infocard-text3{
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-bottom: 73px;
padding: 25px;
}
.infocard-image {
display: flex;
}
@media (max-width:414px) {
.main-banner{
display: none;
}
.infocard-image{
display: none;
}
.infocard-text1{
margin: 0;
font-size: 20px;
line-height: 24px;
}
.infocard-text2{
font-size: 28px;
line-height: 34px;
width: 235px;
}
.infocard-text3{
font-size: 16px;
line-height: 24px;
}
}
@media (min-width:415px) {
.main-bannermobile{
display: none;
}
}
.infocard-imagemobile{
display: none;
}
}

View File

@ -1,12 +1,15 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<link rel="stylesheet" href="desafio.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Landing Page Desafio</title>
<link rel="stylesheet" href="desafio.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap">
</head>
<body>
<header>
<section>
@ -20,6 +23,17 @@
<img class="main-banner" src="./assets/Images/Rectangle 9.png" alt="mainbanner" />
<img class="main-bannermobile" src="./assets/Images/bannermobile.png" alt="mainbannermobile" />
</section>
<section class="infocard1">
<div class="infocard-text">
<h2 class="infocard-text1">Lorem ipsum</h2>
<h1 class="infocard-text2">DOLOR SIT AMET</h1>
<p class="infocard-text3"> 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="infocard-image" src="./assets/Images/fxemoji_threenetworkedcomputers.png" alt="infocard image" />
<img class="infocard-imagemobile" src="./assets/Images/Group 22.png" alt="infocard image mobile">
</section>
</main>
</body>
</html>