How do you transition a height based on the height of its children?
I have this: https://codepen.io/Lko3001/pen/RwXEBea
I don't want any transition on the children, I just want to transition the height of the parent when the content inside of it changes. Is it possible to do it with only CSS? Maybe with some modern CSS stuff? I tried with view transitions but it didn't work, but maybe I wrote something wrong
0 Replies