V
V
vasIvas2015-11-03 19:39:28
css
vasIvas, 2015-11-03 19:39:28

How should elements be hidden so that their appearance can be animated?

If you set display: none, then the appearance of the element cannot be animated.
What is the best way to hide elements in such cases?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lacrim, 2015-11-03
@vasIvas

For example:
display: hidden
display: block
You can also do the same with absolute positioning:
position: absolute
margin-left: - 99999
position: realative
margin-left: 0px

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question