3 ms·
transform is not a shorthand: rather, it’s a set of transformation functions, akin to how background-image is a set of background images. The new properties fo
by chrismorgan 6y ago
transform is not a shorthand: rather, it’s a set of transformation functions, akin to how background-image is a set of background images.
The new properties for individual transforms (translate, rotate, scale) are new, supplementing the transform property and not supplanting it. See https://drafts.csswg.org/css-transforms-2/#individual-transforms https://drafts.csswg.org/css-transforms-2/#individual-transf... and https://drafts.csswg.org/css-transforms-2/#ctm https://drafts.csswg.org/css-transforms-2/#ctm for details.
- eyelidlessness 6y agoYou’re right, and this is a good clarification. And it’s a list, where order matters, as each transform applies to the result of the previous transform. This is a place where any kind of composition syntax would be a huge improvement, as it behaves much more akin to a pipe than a list.