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;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-banner {
|
.main-banner, .middle-banner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-infocard {
|
.top-infocard {
|
||||||
@ -83,8 +84,11 @@ body {
|
|||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@media screen and (max-width: 414px) {
|
@media screen and (max-width: 414px) {
|
||||||
.main-banner-desktop {
|
.main-banner-desktop,
|
||||||
|
.middle-banner-desktop {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -122,7 +126,8 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 415px) {
|
@media screen and (min-width: 415px) {
|
||||||
.main-banner-mobile {
|
.main-banner-mobile,
|
||||||
|
.middle-banner-mobile {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
10
index.html
10
index.html
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="top-cards">
|
<section class="top-cards">
|
||||||
<div class="top-card">
|
<div class="top-card">
|
||||||
<img class="top-card-image" src="assets/images/top-card-image-01.png" alt="Imagem do Primeiro Card do Topo"/>
|
<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">
|
<p class="top-card-description">
|
||||||
@ -65,9 +65,13 @@
|
|||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</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>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user