forked from M3-Academy/challenge-landing-page
Ajusta imagens do banner para desktop
This commit is contained in:
parent
d111581eb8
commit
7b07501d88
Before Width: | Height: | Size: 362 KiB After Width: | Height: | Size: 362 KiB |
BIN
assets/img/final-photo-mobile.png
Normal file
BIN
assets/img/final-photo-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 247 KiB |
BIN
assets/img/main-banner-mobile.png
Normal file
BIN
assets/img/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 341 KiB |
@ -174,13 +174,29 @@ body{
|
|||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.final-card-image{
|
.final-card-image-desktop{
|
||||||
width: 70%;
|
width: 70%;
|
||||||
margin-bottom: 116px;
|
margin-bottom: 116px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width:414px) {
|
||||||
|
.main-banner-desktop, .final-card-image-desktop {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-banner-mobile, .final-card-image-mobile {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.final-card-image-mobile{
|
||||||
|
margin-bottom: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width:768px){
|
@media screen and (max-width:768px){
|
||||||
|
|
||||||
|
|
||||||
.final-card-info{
|
.final-card-info{
|
||||||
max-width: 350px;
|
max-width: 350px;
|
||||||
}
|
}
|
||||||
@ -227,6 +243,9 @@ body{
|
|||||||
|
|
||||||
@media screen and (max-width:992px) {
|
@media screen and (max-width:992px) {
|
||||||
|
|
||||||
|
.top-infocard-image{
|
||||||
|
width: 40%;
|
||||||
|
}
|
||||||
.second-card{
|
.second-card{
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
margin: 0 23px;
|
margin: 0 23px;
|
||||||
@ -262,6 +281,13 @@ body{
|
|||||||
padding: 35px 33px;
|
padding: 35px 33px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width:415px){
|
||||||
|
.main-banner-mobile, .final-card-image-mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (min-width:2500px){
|
@media screen and (min-width:2500px){
|
||||||
|
|
||||||
.top-infocard-text {
|
.top-infocard-text {
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
<img class="main-banner-desktop" src="./assets/img/main-banner-desktop.png" alt="Banner Principal"/>
|
<img class="main-banner-desktop" src="./assets/img/main-banner-desktop.png" alt="Banner Principal"/>
|
||||||
|
<img class="main-banner-mobile" src="./assets/img/main-banner-mobile.png" alt="Banner Principal"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<section class="top-infocard">
|
<section class="top-infocard">
|
||||||
@ -110,6 +111,9 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="final-card">
|
<section class="final-card">
|
||||||
|
|
||||||
|
<img class="final-card-image-mobile" src="./assets/img/final-photo-mobile.png" alt="Banner final da pagina" />
|
||||||
|
|
||||||
<div class="final-card-info">
|
<div class="final-card-info">
|
||||||
<h1 class="final-card-title" >Lorem ipsum dolor sit amet</h1>
|
<h1 class="final-card-title" >Lorem ipsum dolor sit amet</h1>
|
||||||
<p class="final-card-text">
|
<p class="final-card-text">
|
||||||
@ -121,7 +125,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<img class="final-card-image" src="./assets/img/final-photo.png" alt="Banner final da pagina" />
|
<img class="final-card-image-desktop" src="./assets/img/final-photo-desktop.png" alt="Banner final da pagina" />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user