Hi all,
I have a div which can be closed and opened on click of a section. Now what i would like to do is that on open and close the div should have a sliding effect.
Normally what we would do is that just apply the styles display:none or display:block, however in that case it just hides/shows instantly.
What i would like to do is have a sliding effect on open/close.
Is this possible to do?
Thanks in advance.
I have a div which can be closed and opened on click of a section. Now what i would like to do is that on open and close the div should have a sliding effect.
Normally what we would do is that just apply the styles display:none or display:block, however in that case it just hides/shows instantly.
What i would like to do is have a sliding effect on open/close.
Is this possible to do?
Thanks in advance.
Comment