example
1.cars
1.1 american
1.1.1 nissan
i mean when we hover over cars american should show up
when we hover over american nissan should show up.
example
1.cars
1.1 american
1.1.1 nissan
i mean when we hover over cars american should show up
when we hover over american nissan should show up.
See this example:
.show:hover ul.list-categories{
max-height: inherit;
opacity: 1;
}
.list-categories{
list-style-type: none;
padding: 0px;
margin: 0px;
max-height: 0px;
opacity: 0;
overflow: hidden;
transition: opacity 300ms ease;
}
<div class="show">show div
<ul class="list-categories">
<li>Bed</li>
<li>Bed</li>
<li>Bed</li>
<li>Bed</li>
<li>Bed</li>
<li>Bed</li>
</ul>
</div>
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.