Adiciona banner principal desktop e mobile

This commit is contained in:
Izabela Balizardo 2022-10-11 22:33:30 -03:00
parent 84d9aab799
commit 2200ddcd71
4 changed files with 36 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

View File

@ -13,8 +13,24 @@
.header-logo {
display: block;
}
.main-banner {
.main-banner-desktop {
width: 100%;
}
@media screen and (max-width: 1023px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (min-width: 1024px) {
.main-banner-mobile {
display: none;
}
}

View File

@ -19,8 +19,26 @@
<main>
<section>
<img class="main-banner" src="assets/img/main-banner.png" alt="Banner Principal">
<img class="main-banner-desktop" src="assets/img/main-banner-desktop.png" alt="Banner Principal Desktop">
<img class="main-banner-mobile" src="assets/img/main-banner-mobile.png" alt="Banner Principal Mobile">
</section>
<section class="top-infocard">
<div class="top-infocard-text">
<h2 class="top-infocard-subtitulo">
Lorem ipsum
</h2>
<h1 class="top-infocard-titulo">
Dolor sit amet
</h1>
<p class="top-infocard-paragrafo">
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>
</main>
</body>