i have a div i.e
<div class="msg-panel" id="mydiv"></div>
CSS code:
.msg-panel {
position: absolute;
height: 35px;
width: 200px;
background-color: green;
top: 30%;
left: 50%;
color: #fff;
display: none;
border-radius: 20px;
font-weight: bold;
}
i want to display this div for ten seconds on button click.
can you help me for this thanks.