Skip to content

[Feature Request]: Support for min() and max() #189

Open
@arayutw

Description

@arayutw

What should be improved?

I would like min() and max() to shrink similar to calc().
Within these functions, calculations can be performed without using calc(). So, it would be helpful if they can also perform shrinking similar to calc().

Describe the solution you would like

width: min(360px, 100% - 24px - 24px)

=>

width: min(360px, 100% - 48px)

Possible alternatives

I would be happy to consider your request, even though it is unsolicited.

Additional context

No response

Are you willing to work on this?

  • Yes, I would like to help

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