forked from M3-Academy/challenge-landing-page
31 lines
490 B
CSS
31 lines
490 B
CSS
/* primeiro background */
|
|
.background-main figure img {
|
|
width: 100%;
|
|
height: 700px;
|
|
top: 0;
|
|
max-height: 700px;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
.background-main figure img {
|
|
height: 100%;
|
|
min-height: 598px;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 2500px) {
|
|
.background-main figure img {
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
object-fit: cover;
|
|
position: relative;
|
|
|
|
}
|
|
} |