gambar zoom saat mengubah ukuran

img {
    width: 100%;
    height: 100%; 
    object-fit: contain;
}
TC5550