forked from M3-Academy/practice-time-landing-page
Adiciona banner desktop e mobile
This commit is contained in:
parent
195b5e8b20
commit
5d5c58a1b5
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: 949 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,8 +20,9 @@ body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner {
|
||||
.main-banner, .middle-banner {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.top-infocard {
|
||||
@ -83,8 +84,11 @@ body {
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop {
|
||||
.main-banner-desktop,
|
||||
.middle-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@ -122,7 +126,8 @@ body {
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile {
|
||||
.main-banner-mobile,
|
||||
.middle-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
10
index.html
10
index.html
@ -44,7 +44,7 @@
|
||||
|
||||
</section>
|
||||
|
||||
<section class="top-cards">
|
||||
<section class="top-cards">
|
||||
<div class="top-card">
|
||||
<img class="top-card-image" src="assets/images/top-card-image-01.png" alt="Imagem do Primeiro Card do Topo"/>
|
||||
<p class="top-card-description">
|
||||
@ -65,9 +65,13 @@
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<img class="middle-banner middle-banner-desktop" src="assets/images/middle-banner-desktop.png" alt="Banner do Meio Desktop"/>
|
||||
<img class="middle-banner middle-banner-mobile" src="assets/images/middle-banner-mobile.png" alt="Banner Principal Mobile"/>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user