Skip to content

Commit 48f19e8

Browse files
committed
[css-transforms-2] Specify when 'scale' is 2d vs 3d, and per resolution, making 'scale:2' equivalent to 'scale: 2 2'.
1 parent 524bf93 commit 48f19e8

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

css-transforms-2/Overview.bs

+13-2
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ each specifying a translation against one axis,
557557
in the order X, Y, then Z.
558558
Unspecified translations default to ''0px''.
559559

560-
If only one or two values or given,
560+
If only one or two values are given,
561561
this specifies a 2d translation,
562562
equivalent to the ''translate()'' function.
563563
If three values are given,
@@ -609,7 +609,18 @@ Animatable: as <<number>> list
609609
The 'scale' property accepts 1-3 values,
610610
each specifying a scale along one axis,
611611
in order X, Y, then Z.
612-
Unspecified scales default to ''1''.
612+
613+
If only the X value is given,
614+
the Y value defaults to the same value.
615+
616+
If one or two values are given,
617+
this specifies a 2d scaling,
618+
equivalent to the ''scale()'' function.
619+
If three values are given,
620+
this specifies a 3d scaling,
621+
equivalent to the ''scale3d()'' function.
622+
623+
----
613624

614625
All three properties accept
615626
(and default to)

0 commit comments

Comments
 (0)