forked from M3-Academy/practice-time-landing-page
adicionando banner central desktop e mobile
This commit is contained in:
parent
deb375eb87
commit
fdda25d019
BIN
assets/img/Rectangle 13 desktop.png
Normal file
BIN
assets/img/Rectangle 13 desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 949 KiB |
BIN
assets/img/Rectangle 13 mobile.png
Normal file
BIN
assets/img/Rectangle 13 mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 141 KiB |
@ -60,6 +60,13 @@
|
||||
margin: 27px 0;
|
||||
}
|
||||
|
||||
.banner-desktop, .banner-mobile {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 415px) {
|
||||
.main_banner_desktop {
|
||||
display: none;
|
||||
@ -101,10 +108,18 @@
|
||||
justify-content: space-around;
|
||||
|
||||
}
|
||||
|
||||
.banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main_banner_mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
@ -56,5 +56,9 @@
|
||||
</div>
|
||||
|
||||
</section>
|
||||
<section class="banner-container">
|
||||
<img src="./assets/img/Rectangle 13 desktop.png" alt="banner desktop" class="banner-desktop">
|
||||
<img src="./assets/img/Rectangle 13 mobile.png" alt="banner mobile" class="banner-mobile">
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user