JSFiddle - React, Tailwind, and code Playground

by antouank

HTML

<div id="pipelines">
    <img src="http://i.imgur.com/eJK42SZ.jpg" usemap="#Map" border="0" />
    <map name="Map" id="Map">
        <area shape="rect" coords="155,70,267,96" href="#" alt="Writers" />
    </map>
    <div id="content">
        <hr />
        John Howard
    </div>
</div>

<div id="members">
     <h1>Mem</h1>

</div>

CSS

#pipelines {
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    float:left;
}

#content {
    font-family: Helvetica Neue;
    border: solid;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 2px;
    background-color: white;
    position: absolute;
    width: 100px;
    height: 30px;
    top: 10px;
    left: 10px;
    display: none;
    
}

hr {
    background-color: #000;
}

h4 {
    
    padding-bottom:0px;
    
    padding-top:0px;
    
}

#members {
    float:right;
    position:relative;   
}

JavaScript

$("#pipelines")
    .on('mouseenter', function (e) {
        //    setTimeout here if you want
        $('#content').fadeIn(400);
    })
    .on('mouseleave', function (e) {
        $('#content').fadeOut(400)
    });