I have a horizontal navigation div#nav that contains li element links. I have a .closed class that gives my div a width of lets say 100px which only shows the first li. When I remove the .close my div shows all my li links. When I click on the first li and remove the class the div falls into its normal width size and that's what I want which is good. But how can I make it transition or animate instead of jumping into place?
<div id="nav" class="closed">
<ul>
<li>Link 1: click Me</li>
<li>Link 2</li>
<li>Link 3</li>
</ul>
</div>