JSFiddle - React, Tailwind, and code Playground

HTML

<div class="box"> 
    <img src="https://s-media-cache-ak0.pinimg.com/originals/aa/eb/a9/aaeba9c14d265453ffbf74274c93f34b.jpg" class="img" alt="" />
</div>

CSS

.box {
    width: 200px;
    height: 232px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-position: center;
}

.img {
    max-width: 100%;
    transition: transform .2s;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
     background-position: 50% 50%;
}

.box:before {
    content: "";
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0;
    transition: opacity .2s;
}

.box:hover .img {
    transform: scale(1.2,1.2);
}

.box:hover:before {
    opacity: .5;
}