JSFiddle - React, Tailwind, and code Playground

by bambattajb

HTML

<div id="viewfilter">VIEWFILTER</div>
<div id="filterblock">FILTERBLOCK</div>

CSS

#viewfilter {
    background:red;
    width:100px;
    height:100px;
}
#filterblock {
    background:green;
    width:100px;
    height:100px;
}

JavaScript

// Hover on the view filters
$('#viewfilter').hover(function (event) {
    $('#filterblock').show();
}, function (event) {
    $('#filterblock').hide();
});