Skip to content

[css-values] Add easing function interpolation to calc #6697

@smfr

Description

@smfr

It should be possible to compute the output of an easing function, given an input fraction, in calc. Something like:
width: calc(100% * interpolate(ease-in-out, 0.7)). The first argument to interpolate() would accept any of the easing functions specified in https://drafts.csswg.org/css-easing-1/#easing-functions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions