I have this sample:
CODE HTML:
<div class="show">show div</div>
<ul class="list-categories">
<li>Bed</li>
<li>Bed</li>
<li>Bed</li>
<li>Bed</li>
<li>Bed</li>
<li>Bed</li>
</ul>
CODE CSS:
.show:hover .list-categories{
overflow: auto;
max-height: inherit;
}
.list-categories{
list-style-type: none;
padding: 0px;
margin: 0px;
max-height: 0px;
overflow: hidden;
}
I want to achieve that when you hover your cursor over "show div", a list of categories displays using the effect 'fadeUp'.
How can I do this while only using CSS? !