正在加载视频...
视频加载失败
CSS can FINALLY animate height: auto!
10 条评论

Related 🤙

Next: animate display none

Already possible! starting-style does this:

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! 🥳

Holy hell lol I don’t even believe it

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

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

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 😂

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

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