JSFiddle - React, Tailwind, and code Playground

by meo

HTML

<div></div>

CSS

div {
    margin: 0 auto;
    position: relative;
    width: 300px;
    height: 160px;
    background: white;
    -moz-box-shadow: 0 0 2px rgba(0,0,0, .05);
    -moz-transition: .6s all ease-out;
}
div:hover {
    width: 280px;
    height: 140px;
    margin-top: 10px;
}

div:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    -moz-border-radius: 150px / 50px;
    -moz-box-shadow: 0 0 15px rgba(0,0,0, .2);
    -moz-transition: .6s all ease-out;
}

div:hover:before {
    -moz-border-radius: 100px / 20px;
    -moz-box-shadow: 0 0 8px rgba(0,0,0, .35);
}