@codyhillauthorJul 09.2019 — #@shakilapervin#1606051 yeah I tried with overflow hidden but I don't this is a good idea. Because the imgs I have don;t have the same sizes.
@SempervivumJul 09.2019 — #You need to set both, width and height, for the image in order to make object-fit work. This works for me: /* * { margin: 5px; padding: 0; } */ .card-img img { width: 100%; height: 100%; object-fit: cover; }