Simple code on code sandbox, which compares two cards I'm building. The first card is just a placeholder to organize the flexbox and configure the hover effect. And the second one does make reference to images.
I'm trying to understand why the images are getting bigger than the box-contrained from the first parent - since I'm using object-fit: cover
. Can anybody explain me why?