forked from M3-Academy/practice-time-landing-page
Adicionar os banners principais deskptop e mobile
This commit is contained in:
parent
7d004cada2
commit
f69357377a
BIN
assets/main-banner-desktop.png
Normal file
BIN
assets/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/main-banner-mobile.png
Normal file
BIN
assets/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 333 KiB |
@ -14,3 +14,20 @@
|
|||||||
.header-logo {
|
.header-logo {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main-banner {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media screen and (max-width: 414px) {
|
||||||
|
.main-banner-desktop {
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 414px) {
|
||||||
|
.main-banner-mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
@ -17,7 +17,10 @@
|
|||||||
|
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
<section>
|
||||||
|
<img class="main-banner-desktop" src="assets/main-banner-desktop.png" alt="Banner principal">
|
||||||
|
<img class="main-banner-mobile" src="assets/main-banner-mobile.png" alt="Banner principal">
|
||||||
|
</section>
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user