
How to make so, how on the attached picture? That is, the photo has its real size, and when it is inactive, it is slightly smaller, BUT without changing the scaling.
Removed from comments
Photos are cropped, they are not fully visible. When :hover photos should push the frame to its true size.
Only the zone of visibility increases, and the scale of the photo remains the same.