L
L
lutlk2021-01-21 14:19:56
HTML
lutlk, 2021-01-21 14:19:56

How to make 2 other divs pop out from behind one div?

Hi hubrists!
I have a site where there is a table with something like this:
https://codepen.io/markuke/pen/RwGOZdg
Also for each "raw" div I have two blocks of text. Moreover, they can be larger in height than the "raw" itself . How can I make it so that when this div is clicked , other blocks move out from behind it, shifting the next rows of the table down? If possible, I would like to add smoothness to this. Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2021-01-22
@lutlk

Well, judging by the description, you need collapse. google "collapse codepen"
for example https://codepen.io/nikoso/pen/RwGbZzy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question