Skip to content

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

Closed

Description

Image for: Description

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

Image for: Metadata

Metadata

Image for: 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

    Image for: Issue actions