A
A
Antoonio542020-05-07 11:31:44
css
Antoonio54, 2020-05-07 11:31:44

How to expand and collapse a div based on timing?

Good afternoon!
The site on flexbox, in the mobile version (to save space) the lower part of the div is hidden through overflow hidden, expands and collapses by the button. Is it possible to implement opening and hiding by timing?

Those. the user opened the site, immediately with him the block opened and closed in half a second, the demonstration took place, then, if he wants, he will open it by the button.
Can you please tell me if this is possible and by what means?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stimulate, 2020-05-07
@Antoonio54

https://learn.javascript.ru/settimeout-setinterval

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question