Reputation: 6622
I have a div "actions" inside a div which is hidden by default. I want it to show when the mouse hovers over the div. How can I do this?
<div class="tile">
<div class="actions">hello</div>
</div>
Upvotes: 1
Views: 79
Reputation: 3835
Use CSS:
.tile:hover > .actions {
display:block;
}
See this fiddle
Upvotes: 4