Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

CSS can FINALLY animate height: auto!

323,288 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

Related 🤙

Profilbild von hārmañ
hārmañvor 1 Jahr

Next: animate display none

Profilbild von Wes Bos
Wes Bosvor 1 Jahr

Already possible! starting-style does this:

Profilbild von Julian Domke
Julian Domkevor 1 Jahr

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

Profilbild von jeffscottworld (🛠️, 🤖, 🏡 )
jeffscottworld (🛠️, 🤖, 🏡 )vor 1 Jahr

Holy hell lol I don’t even believe it

Profilbild von Hunter Becton
Hunter Bectonvor 1 Jahr

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

Profilbild von Wes Bos
Wes Bosvor 1 Jahr

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

Profilbild von Cyrus Zei
Cyrus Zeivor 1 Jahr

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 😂

Profilbild von ProEvilz
ProEvilzvor 1 Jahr

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

Profilbild von Avi Cohen Nehemia
Avi Cohen Nehemiavor 1 Jahr

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

Ähnliche Videos