Interpolate-Size

SoCal developer building with Ruby, JavaScript and Python.


Using interpolate-size to animate open/close states

The interpolate-size property allows you to enable animations and transitions between a length percentage value and an intrinsic size value such as auto, fit-content, or max-content. All you have to do is set interpolate-size: allow-keywords ono the containing element!

👇 Take a look (hover)! 👇

😜