In the attached snippet, when you hover on the parent div, the child div is shown. As expected, if you remove the cursor it then disappears.
Is it possible to delay this disappearance for like, 1 second somehow?
ul {
background: red;
width: 100px;
}
div {
display: none;
}
ul:hover div {
display: block;
}
<ul>
<li>Hover me</li>
<div>
Show on hover
</div>
</ul>