forked from M3-Academy/challenge-landing-page
Adiciona banner principal desktop e mobile
This commit is contained in:
parent
84d9aab799
commit
2200ddcd71
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
BIN
assets/img/main-banner-mobile.png
Normal file
BIN
assets/img/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 341 KiB |
@ -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;
|
||||
|
||||
}
|
||||
}
|
20
index.html
20
index.html
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user