I know that transitions don't work when changing the display mode between classes.
So I was thinking to use jQuery to change classes. I made a fiddle here: http://jsfiddle.net/v8GTz/ but it doesn't seem to work properly :(
It looks like the border is getting animated, but the height doesn't. And opacity only animates once.
What am I doing wrong here?
ok, I managed to make the fade effect work, but the height is still not animating: