forked from M3-Academy/practice-time-landing-page
Adiciona o banner do meio deskto e mobile
This commit is contained in:
parent
bd14b534f4
commit
24f099b8b8
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: 141 KiB |
@ -20,7 +20,8 @@ body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner {
|
||||
.main-banner, .middle-banner {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@ -101,7 +102,7 @@ body {
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.main-banner-desktop {
|
||||
.main-banner-desktop, .middle-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@ -140,7 +141,7 @@ body {
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1025px) {
|
||||
.main-banner-mobile {
|
||||
.main-banner-mobile, .middle-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
11
index.html
11
index.html
@ -28,6 +28,7 @@
|
||||
<figure>
|
||||
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner Principal Desktop"/>
|
||||
</figure>
|
||||
|
||||
<figure>
|
||||
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner Principal Mobile"/>
|
||||
</figure>
|
||||
@ -72,6 +73,16 @@
|
||||
|
||||
</figure>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<figure>
|
||||
<img class="middle-banner middle-banner-desktop" src="./assets/images/middle-banner-desktop.png" alt="Banner do Meio Desktop"/>
|
||||
</figure>
|
||||
|
||||
<figure>
|
||||
<img class="middle-banner middle-banner-mobile" src="./assets/images/middle-banner-mobile.png" alt="Banner do Meio Mobile"/>
|
||||
</figure>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user