How to make a list animation through height detection

Please help to get block height to animate each of blocks with different time interval. i cant get the height of these blocks as it is hidden https://codepen.io/Mister-Eighth/pen/poZKmdo
3 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
MarkBoots
MarkBoots2y ago
the trick here is to use a wrapper that transitions the height (with overflow hidden). It can look at the real height of it's child I adjusted your html structure a bit to make it happen https://codepen.io/MarkBoots/pen/YzjBjXy
Eighth
EighthOP2y ago
Thank you for your help, you helped me a lot. I'm new to Js, I don't know it very well, sometimes there are problems in implementing ideas

Did you find this page helpful?