@correlucas
Posted
🗡️Hello Mukebo, congratulations for your solution!
I can see that you're an Aktsuki developer since you've used SCSS, that's amazing. You've forgot only a small detail when you've imported the photo using the background-image
property. Remember to indicate the image location when you're not working locally, you need to use ./
to indicate the image is one level folder and ../
to indicate a subfolder. See the code with this fixes below:
background-image: url(". /images/image-product-desktop.jpg");
.img {
object-fit: cover;
background-color:$Dark_cyan;
background-image: url(". /images/image-product-desktop.jpg");
background-repeat: no-repeat;
background-size: cover;
grid-column: 1;
grid-row: 1;
border-radius: 10px 0px 0px 10px;
}
Hope it helps you ninjadev, keep it up!
Marked as helpful