I am trying to create a tool tip on my buttons. I have written the following code, it gives a little circle on mouse hover, but it disappears the original circle. Is there any way that I can hold the big Circle on mouse hover and display the little circle?
<style>
#item
{
background-color: red;
border-radius:50%;
width:100px;
height:100px;
position:absolute;
top:50px;
}
#item:hover
{
background-color:black;
width:30px;
height:30px;
border-radius:50%;
position:relative;
top:0px;
}
</style>
</head>
<body>
<div id ="item">
</div>
</body>