I look around the place and I can’t find exactly what they are after all.
The html structure is basically.
<ul>
<li><a href="">link</a></li>
<div id="us">hidden info</div>
</ul>
css structure.
#us {display:none}
I would like to see the “us” div change from dipslay: none; to display: a block, in a graceful fade, as few lines of code as possible, and then again, when the link is clicked, to switch back to the: hidden screen.
I know that there are many things that can do this, but they are really looking for this simplicity in the code.
thanks for your time x
source
share