@Donitron
Posted
Hey there!
It seems like you are struggling with the responsiveness, how it would look on smaller screens.
How I did this was by giving the card a min-width as well as a max-width so it can freely adjust itself between these values.
As for making sure the image scales well along side it, I put the img in a div wrapper and made used object-fit: cover
for the image element itself. This way the image would always fill in the area of the div without stretching or leaving empty spaces.
Hope this helps!
Marked as helpful