Trying to create an animated dropdown using CSS animations without any JS. Thought that I was barking on the right tree, but did not see where I was mistaken for this simplified menu item ...
<div class="menu">Menu Item <ul> <li>Dropdown 1</li> <li>Dropdown 2</li> <li>Dropdown 3</li> <li>Dropdown 4</li> <li>Dropdown 5</li> </ul> </div>
And the next CSS;
.menu ul { height: 0px; overflow: hidden; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; } .menu:hover ul { height: auto; }
A thought that should succeed in scrolling down a div, but it just keeps popping up. Any thoughts? Greetings
source share