@samuelpalaciosdev
Posted
Hi, Adam๐
Great job on this challenge. Your solution looks good and it scales pretty well๐
I only suggest some things ๐:
-
Scaling the card to make it look more like the original design, setting
transform: scale(0.8);
on the.card
element. -
Setting the furniture image as a background-image, it will help you, you can control it better than putting that img on the HTML Markup.
I hope you have a nice day, keep coding!๐
@aemann2
Posted
@samuelpalaciosdev thanks for the advice. I still have trouble figuring out when to set an img
in the markup vs. when to use background-img
.
Is there some kind of general rule on when you'd want to set an img
in the html? It seems like it's usually better to just set images using CSS because you have more control, even though that seems counterintuitive to me...
@samuelpalaciosdev
Posted
What a good question.
I suggest you to read this thread on Stackoverflow
Hope you have a nice day, bro๐