forked from M3-Academy/practice-time-landing-page
Adiciona banner do meio desktop e mobile
This commit is contained in:
parent
183ac11346
commit
80cb2d1d6a
BIN
assets/imagens/middle-banner-desktop.png
Normal file
BIN
assets/imagens/middle-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 947 KiB |
BIN
assets/imagens/middle-banner-mobile.png
Normal file
BIN
assets/imagens/middle-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 141 KiB |
@ -23,19 +23,23 @@ body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Adiciona banner princial */
|
||||
.main-banner {
|
||||
/* Adiciona banner princial / Adiciona banner do meio */
|
||||
.main-banner,
|
||||
.middle-banner {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop {
|
||||
.main-banner-desktop,
|
||||
.middle-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 414px) {
|
||||
.main-banner-mobile {
|
||||
.main-banner-mobile,
|
||||
.middle-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
@ -68,6 +68,14 @@
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!--Adiciona banner do meio-->
|
||||
<div>
|
||||
<figure>
|
||||
<img class="middle-banner middle-banner-desktop" src="assets/imagens/middle-banner-desktop.png" alt="Banner do Meio Desktop" />
|
||||
<img class="middle-banner middle-banner-mobile" src="assets/imagens/middle-banner-mobile.png" alt="Banner do Meio Mobile" />
|
||||
</figure>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user