hitmorecode• 6,230
@hitmorecode
Posted
Nice well done, there is an issue with the background image. This is how you can fix it
.section-container {
width: 100%;
height: 100%;
background-image: url("./images/bg-desktop.svg");
background-size: cover; /* add this line */
background-repeat: no-repeat; /* add this line */
min-height: 100vh;
}
@media (max-width: 1140px) {
.section-container {
background-image: url("./images/bg-mobile.svg");
background-size: contain; /* add this line */
/* min-height: 0; */
}
.section-container .container {
padding: 30px 25px;
}
}
Marked as helpful
0
Pri Kazuya• 300
@saiyasone
Posted
Thank guy @hitmorecode
0