Adiciona os banners para desktop e mobile
This commit is contained in:
parent
4cfcbd1426
commit
900a019a7b
BIN
assest/middle-banner-desktop.png
Normal file
BIN
assest/middle-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 949 KiB |
BIN
assest/middle-banner-mobile.png
Normal file
BIN
assest/middle-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 141 KiB |
@ -51,6 +51,12 @@
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<img class=" middle-banner middle-banner-desktop" src="./assest/middle-banner-desktop.png" alt="Banner do meio Desktop">
|
||||
<img class ="middle-banner middle-banner-mobile" src="./assest/middle-banner-mobile.png" alt="Banner do meio mobile">
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
7
main.css
7
main.css
@ -22,7 +22,8 @@ body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner {
|
||||
.main-banner , .middle-banner {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@ -92,7 +93,7 @@ body {
|
||||
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop {
|
||||
.main-banner-desktop, .middle-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@ -141,7 +142,7 @@ body {
|
||||
|
||||
}
|
||||
@media screen and (min-width:415px) {
|
||||
.main-banner-mobile {
|
||||
.main-banner-mobile, .middle-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user