Skip to content

[css-transforms-2] Syntax of individual transforms should reflect general CSS syntax #7646

@evayde

Description

@evayde

For example: Individual translate is only usable like so: translate: 0 0 10px
But translate as an individual property should be a shorthand for
translate-x, translate-y, and translate-z
In my opinion, this would reflect the current CSS syntax with other properties, like overflow, background-position, scroll-snap-type, and so on. Otherwise, it feels kind of inconsistent to me.

Or is there any technical reason that we cannot provide that syntax for individual transforms?

Spec: https://www.w3.org/TR/css-transforms-2/#individual-transforms

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