Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[css-values-4] Out of range progress of generic interpolation function / mix() #6701

@fantasai

Description

@fantasai

In #581 and #2854 we resolved to add a generic interpolation function, which takes a percentage, a start value, and an end value.

  mix( [ <percentage> && [ by <easing-function> ]? ] ; <start-value> ; <end-value>)

One outstanding question is, what happens if the progress percentage is outside the 0-100% range? Do we clamp the values to the range? Do we interpolate past the range? Do we need a syntactic switch between the two (e.g. a clamp keyword in the first arg)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions