Add the ability of transitioning between @media and @contain states. This would enable fine-tune control over how things change as viewport and container sizes change with easing.
This would enable at least two things that is not possible in CSS:
- Interpolation of multiple properties across screen/container sizes.
- Interpolation of text on an easing curve, as opposed to linear with viewport/container unit interpolation.
Some examples to show the need for this feature. These demos are acting as if text in page modules can be interpolated based on container width units in the first column, and transitioned + eased queried properties in the second column.
| Possible with container unit interpolation | Possible with state transitions and easing |
 |
 |
|
|