Skip to content

[css-transforms] Have scale function accept percentage value #3399

Closed
@Ernedar

Description

@Ernedar

Hello,
I would like to suggest adding percentage for scale function in transformations.

Current state: scale() is using [-NUM, NUM] where NUM is whole number (integer)
Suggestion: scale() will support [-NUM, NUM] and [-%, %]
Example:
transform: scale(120%) will work same as transform:scale(1.2) is working right now.

It is not a game-breaker but it is nice to have.

Thank you for your work.

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