JSFiddle - React, Tailwind, and code Playground

HTML

<div class="layout">Hover It</div>
<div class="hoverDiv"></div>

CSS

.hoverDiv{width:50px; height:50px; background:#ff0000;}

JavaScript

setTimeout(function(){
			$(".layout").addClass('startAnimation');
		}, 500);
$('.hoverDiv').hide();
$(document).on('mouseenter mouseleave', '.startAnimation', function(){
    $('.hoverDiv').toggle();
});