csswg-drafts icon indicating copy to clipboard operation
csswg-drafts copied to clipboard

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

Open evayde opened this issue 2 years ago • 0 comments

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

evayde avatar Aug 24 '22 21:08 evayde