forked from M3-Academy/practice-time-landing-page
Adiciona o banner do meio desktop e mobile
This commit is contained in:
parent
f097f70548
commit
58817f7398
BIN
assets/images/middle-banner-desktop.png
Normal file
BIN
assets/images/middle-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 947 KiB |
BIN
assets/images/middle-banner-mobile.png
Normal file
BIN
assets/images/middle-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 142 KiB |
@ -20,7 +20,9 @@ body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner {
|
||||
.main-banner,
|
||||
.middle-banner {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@ -133,16 +135,16 @@ body {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop {
|
||||
.main-banner-desktop,
|
||||
.middle-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile {
|
||||
.main-banner-mobile,
|
||||
.middle-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
@ -22,7 +22,7 @@
|
||||
<main>
|
||||
<section>
|
||||
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner principal Desktop">
|
||||
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner principal Desktop">
|
||||
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner principal Mobile">
|
||||
</section>
|
||||
|
||||
<section class="top-infocard">
|
||||
@ -49,6 +49,11 @@
|
||||
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<img class="middle-banner middle-banner-desktop" src="./assets/images/middle-banner-desktop.png" alt="Banner do meio Desktop">
|
||||
<img class="middle-banner middle-banner-mobile" src="./assets/images/middle-banner-mobile.png" alt="Banner do meio Mobile">
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user