S
S
stasy_ag2020-11-28 15:33:36
css
stasy_ag, 2020-11-28 15:33:36

How to make css animation on element expansion?

The essence is the following, you need to make sure that when you click the bottom block crawls out with animation. I don't understand what exactly to add initial states to.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Spaceoddity, 2020-11-28
@stasy_ag

"display: none" take away. It blocks the animation.
And in property translate - it is necessary to specify units of measure.

transform: translateY(0);
- this will not work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question