JSFiddle - React, Tailwind, and code Playground

HTML

<div id="popUp">
    <div id="trans">
        <h1>hover me</h1>
    </div>
    <p>Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate</p>
</div>

CSS

#popUp {
    max-height: 310px;
    width: 400px;
    background: #EEE;
    position: relative;
}
#trans {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: yellow;
    
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;

    -webkit-transform-origin: left top 0;
	   -moz-transform-origin: left top 0;
		 -o-transform-origin: left top 0;
		-ms-transform-origin: left top 0;
			transform-origin: left top 0;
}
#trans:hover {
    -moz-transform: scale(.5);
    -ms-transform: scale(.5);
    -o-transform: scale(.5);
    -webkit-transform: scale(.5);
    transform: scale(.5)
}
#trans + * {
    padding-top: 210px;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
#trans:hover + * { padding-top: 110px; }
h1 { text-align: center; }