forked from M3-Academy/practice-time-landing-page
Adiciona o banner do meio desktop e mobile
This commit is contained in:
parent
92c7d09a2c
commit
c5352704ac
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: 946 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: 140 KiB |
@ -20,8 +20,10 @@ body{
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-banner{
|
.main-banner,
|
||||||
|
.middle-banner{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-infocard{
|
.top-infocard{
|
||||||
@ -85,7 +87,8 @@ body{
|
|||||||
}
|
}
|
||||||
|
|
||||||
@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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -135,7 +138,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;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -59,6 +59,11 @@
|
|||||||
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </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 do Meio Mobile"/>
|
||||||
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user