Interpolated Values

Table of Contents

Breakpoints only get you so far. In many cases it would be better to have units and values that can respond more fluidly to context. We can do some of that with relative units (several JS plugins provide container-relative units), but that approach comes with a number of limitations.

Scott Kellum has been doing interesting work in this area – what he calls “Intrinsic Typography” – applying animation/transition concepts like “easing” and “keyframes” to responsive type.


From Scott:

CSSWG issues:

TODO: Look into this more…


A few notes from my conversations with Scott:

Overlap with Scroll Animations

This reminds me of the proposed @scroll-timeline – and I see Scott had the same thought:

Split CSS event bindings from application

I think the syntax could use some finesse, but that direction feels right to me – building on current animation/transition syntax, to make it work with inputs other than “time” (like scrolling, or container-width).