I'm struggling with implementing a feature in my Angular code that displays a delete button when hovering over a time segment for 2 seconds. Despite trying different approaches, I can't seem to make it work.
.delete-button {
display: none;
transition: all 3s ease;
}
.time-segment:hover .delete-button{
display: block;
transition-delay: 3s;
}
<button class="delete-button">delete</button>