I am trying to make a div that you can hover the mouse over, and another one will appear. This is what I have so far...
html
<div id="buttons">
<div id="box"></div>
<div id="content">content here</div>
</div>
css
#box {
position:absolute;
width: 10vw;
height: 10vw;
background-color: blue;
}
#content {
position:absolute;
width: 10vw;
height: 10vw;
background-color: red;
visibility: hidden;
}
jquery
$( "box" )
.mouseover(function() {
$( "content").style.visibility( "visible" );
})
any help you be much appreciated. Thanks!