Re: [csswg-drafts] Interpolate values between breakpoints (#6245)

> > That [font-size: from-keyframes(typography, 50%)] sounds approachable as well. As long as from-keyframes() doesn't end up on the computed value.

> There's clearly more work needed to flesh out the details. But in my mind, either of these approaches would address the concerns about how the values are applied in the cascade, and remove the mix() pre-requisite.

More thinking out loud: `from-keyframes(typography, 50%)` would probably need to take the [effect value](https://drafts.csswg.org/web-animations-1/#effect-value) from a hypothetical animation with that progress. This will produce some interesting complexity, since the effect value depends on the computed keyframes, which in turn can rely on the ("main") computed values of the element. So we may have added a brand new way of creating cycles. Hopefully we can ask [IACVT](https://drafts.csswg.org/css-variables/#invalid-at-computed-value-time) to save us (again).

-- 
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6245#issuecomment-1715582405 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 12 September 2023 11:54:43 UTC