Kevin Powell - CommunityKP-C
Kevin Powell - Community•13mo ago•
21 replies
Kivory

How do I make an animation where a div goes from height: 0px; to [its regular height]?

one of my divs has a height that depends on the content inside it, and i want to make an animation for it to start out with a height: 0px; and then expand to have its regular height. How could this be done using @keyframes?
Was this page helpful?