Skip to content

translateX and translateY should accept Size Percentage as well as Size LengthUnit argument #218

@ddssff

Description

@ddssff

Currently I have to say

transform $ translateX (other "-50%")
transform $ translateY (other "-50%")

On the other hand, transform $ translate (pct (- 50)) (pct (- 50)) works and is what you actually want, the two transforms above interfere with each other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions