forked from M3-Academy/practice-time-landing-page
feat(index): adiciona o banner do meio #5
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 |
12
index.html
12
index.html
@ -70,6 +70,18 @@
|
|||||||
|
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<figure>
|
||||||
|
<!-- banner desktop -->
|
||||||
|
<img class="middle-banner middle-banner-desktop" src="/assets/images/middle-banner-desktop.png"
|
||||||
|
alt="imagem de um computador" />
|
||||||
|
<!-- banner mobile -->
|
||||||
|
<img class="middle-banner middle-banner-mobile" src="/assets/images/middle-banner-mobile.png"
|
||||||
|
alt="imagem de um computador" />
|
||||||
|
</figure>
|
||||||
|
</div>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
@ -21,16 +21,16 @@ body {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Banner*/
|
/*Banners*/
|
||||||
.main-banner {
|
.main-banner, .middle-banner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-banner-desktop {
|
.main-banner-desktop, .middle-banner-desktop {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-banner-mobile {
|
.main-banner-mobile, .middle-banner-mobile {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,12 +158,12 @@ body {
|
|||||||
|
|
||||||
@media screen and (max-width: 414px) {
|
@media screen and (max-width: 414px) {
|
||||||
|
|
||||||
/*banner*/
|
/*banners*/
|
||||||
.main-banner-desktop {
|
.main-banner-desktop, .middle-banner-desktop {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-banner-mobile {
|
.main-banner-mobile, .middle-banner-mobile {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user