Loading video...

Video Failed to Load

Go Home

CSS can FINALLY animate height: auto!

323,592 views • 2 years ago •via X (Twitter)

10 Comments

jhey ▲🐻🎈's profile picture
jhey ▲🐻🎈2 years ago

Related 🤙

hārmañ's profile picture
hārmañ2 years ago

Next: animate display none

Wes Bos's profile picture
Wes Bos2 years ago

Already possible! starting-style does this:

Julian Domke's profile picture
Julian Domke2 years ago

whoever works on css should get 10 raises. frontend frameworks get more and more complicated, css just gets more useful. thanks for keeping us informed! 🥳

jeffscottworld (🛠️, 🤖, 🏡 )'s profile picture
jeffscottworld (🛠️, 🤖, 🏡 )2 years ago

Holy hell lol I don’t even believe it

Hunter Becton's profile picture
Hunter Becton2 years ago

What's causing the bounce at the end of the animation?

Wes Bos's profile picture
Wes Bos2 years ago

custom bezier curve that goes past 1, so it bounces back. transition: height 0.5s cubic-bezier(1, 0.63, 0.25, 1.5);

Cyrus Zei's profile picture
Cyrus Zei2 years ago

Yes !! Here we go!! I can finally make accordions that actually look like they where made in 2024 and not 1990 called and wanted their accordion back 😂

ProEvilz's profile picture
ProEvilz2 years ago

we have been waiting for this every since $.slideDown()

Avi Cohen Nehemia's profile picture
Avi Cohen Nehemia2 years ago

Wasn't this already possible for a while now? @KevinJPowell covered something similar a year ago

Related Videos