Take a look at this fiddle.
I increased the duration to 2000
to exactly show you what I am talking about. When you click the close (X
) the animation is not what one would call slideUp
. I was expecting that the form would move upward until it fully disappears. Instead, it hides from bottom to top slowly.
Is the slideUp
expected to behave like it is? Or is it something that I did?
I am guessing its because of this part of CSS (line 15)
.js-enabled form {
position: absolute;
top: -21px;
display: none;
}