Skip to content

[interpolation] How to append Units ? #77

@justgook

Description

@justgook
@value max-width: 1200;
@value min-width: 543;
@value font-min: 12;
@value font-max: 21;

font-size: calc(font-min"px" + (font-min - font-max) * ( (100vw - min-width"px") / ( max-width - min-width) ));

for some part i need units and for others not - so for me is just create raw + px-postfixed units that is totally same.. so i cannot found way how to append / clear units from values

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