79174814

Date: 2024-11-10 11:47:32
Score: 1.5
Natty:
Report link

It looks like you're trying to ensure that the image fits and clips correctly within the grid element while . The issue likely arises because the overflow property isn’t set on the parent container to handle clipping.

.bento3 { display: grid;

overflow: hidden; }

.bento3 > img {

width: 100%;

height: 100%;

object-fit: cover;

margin-top: 14px; }

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ganesh Parhad