JSFiddle - React, Tailwind, and code Playground
HTML
<div class="button">Hover</div>
<div class="box">
Sliding down!
</div>
CSS
body {
background: #222;
}
.box {
width: 160px;
height: 160px;
line-height: 7em;
font-size: 1.5em;
display: block;
position: relative;
background: #2A363B;
text-align: center;
color: white;
border: 4px solid #fff;
border-radius: 90px;
-webkit-border-radius: 90px;
-moz-border-radius: 90px;
}
.button {
width: 140px;
padding: 10px;
background: #2A363B;
color: white;
text-align: center;
display: block;
}
JavaScript
$('.box').hide();
$('.button').hover(
function() {
$('.box').slideToggle('slow');
}
);