Roan Macmillan• 820
@RoanMacmillan
Posted
To make the images within the cards the same size you can consider wrapping the images in a container and doing something like this. Not entirely sure this is the best way to achieve this, but worked for me pretty well in this challenge.
.imgContainer {
width: 264px;
height: 160px;
overflow: hidden;
}
.img {
width: 100%;
height: 100%;
object-fit: cover;
}
Marked as helpful
1