TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A solution to the unsolved CSS problem of animating an element height

4 pointsby halb6 months ago

1 comment

stefanjudis6 months ago
Post author here: this post is a bit dated, and I need to update it. While the CSS grid trick works fine, hopefully, very soon, there&#x27;ll be better ways to animate an element&#x27;s height.<p>Chromium is shipping `interpolate-size` already, which enables transitioning from&#x2F;to `height: auto`. Webkit and Firefox still have to agree with this web platform addition, but I&#x27;m optimistic. So let&#x27;s hope!