Skip to content

Commit 524bf93

Browse files
committed
[css-transforms-2] Specify when 'translate' is 2d vs 3d.
1 parent 09ed056 commit 524bf93

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

css-transforms-2/Overview.bs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,13 @@ 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,
561+
this specifies a 2d translation,
562+
equivalent to the ''translate()'' function.
563+
If three values are given,
564+
this specifies a 3d translation,
565+
equivalent to the ''translate3d()'' function.
566+
560567
<pre class="propdef">
561568
Name: rotate
562569
Value: none | [ x | y | z | <<number>>{3} ]? && <<angle>>

0 commit comments

Comments
 (0)