💭 Animate to height: auto; (and other intrinsic sizing keywords)...

!https://developer.chrome.com/docs/css-ui/animate-to-height-auto/

Animate to height: auto; (and other intrinsic sizing keywords) in CSS  |  CSS and UI  |  Chrome for Developers
Animate to and from intrinsic sizing keywords with `interpolate-size` and `calc-size()`
Chrome for Developers · developer.chrome.com

Css is getting so good, new things like interpolate-size are making things that use to require some deep expertise and hacks intuitive and easy.

/* Opt-in the whole page to interpolate sizes to/from keywords */
:root {
    interpolate-size: allow-keywords; /* 👈 */
}

Note

This post is a thought. It’s a short note that I make about someone else’s content online #thoughts

Connections

Related tags and posts connected to this entry.