colocando a parte da logo mobile mais os textos e arrumando o css

This commit is contained in:
matheusjardimgarcia 2022-10-12 19:17:28 -03:00
parent 922ee9887d
commit 51e61e0fe8
3 changed files with 53 additions and 7 deletions

View File

@ -4,25 +4,62 @@
box-sizing: border-box;
}
.page-header{
position: absolute;
width: 100%;
position: flex;
width: 1920px;
height: 101px;
left: 0px;
top: 0px;
background: #000000;
}
.header-logo{
position:absolute;
width: 35%;
position: absolute;
width: 226.16px;
height: 43px;
left: 847px;
top: 29px;
}
.main-banner-desktop{
position: absolute;
width: 100%;
width: 1920px;
height: 700px;
left: 0px;
top: 101px;
}
@media screen and (max-width: 414px){
.main-banner-desktop{
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile{
display: none;
}
}
.title-one{
position: absolute;
width: 220px;
height: 39px;
left: 850px;
top: 874px;
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
color: #000000;
}
.title-two{
position: absolute;
width: 403px;
height: 58px;
left: 758px;
top: 913px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
color: #000000;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

@ -17,8 +17,17 @@
<main>
<section>
<img class="main-banner-desktop" src="./assets/images/imagem-top.png" alt="Banner Principal">
<img class="main-banner-desktop" src="./assets/images/imagem-top.png" alt="Banner Principal Desktop">
<img class="main-banner-mobile" src="./assets/images/imagem-top-mobile.png" alt="Banner Principal Mobile">
</section>
<section>
<div>
<h1 class="title-one">Lorem ipsum</h1>
<h2 class="title-two">dolor sit amet</h2>
</div>
</section>
</main>
</body>
</html>