A
A
ademar262018-01-27 11:32:19
JavaScript
ademar26, 2018-01-27 11:32:19

How to hide block on JQ from top to bottom?

Good afternoon! There is 1 problem. There is a block, when using the onmouseleave event handler, the $ animation is called, but it hides the block from the bottom up, which is inconvenient. I need to hide the block from top to bottom. How to do it? $(blockId).animate({height: 'hide'}, 2000);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VelAnna, 2018-01-27
@AnnaVel

Alternatively, something like https://jsfiddle.net/47taowv8/1/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question