You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for example ''scale: 100%;'' is equivalent to ''scale: 1;''.
656
+
Numbers are used during serialization of specified and computed values.
657
+
654
658
----
655
659
656
660
All three properties accept
@@ -894,6 +898,19 @@ The Transform Functions {#transform-functions}
894
898
=======================
895
899
896
900
The value of the 'transform' property is a list of <dfn><transform-function></dfn>. The set of allowed transform functions is given below. Wherever <<angle>> is used in this specification, a <<number>> that is equal to zero is also allowed, which is treated the same as an angle of zero degrees. A percentage for horizontal translations is relative to the width of the <a>reference box</a>. A percentage for vertical translations is relative to the height of the <a>reference box</a>.
901
+
A percentage in a scale function is equivalent to a number, and serializes as a number in specified values.
902
+
For example, ''scale3d(50%, 100%, 150%)'' serializes as ''scale3d(0.5, 1, 1.5)''.
3D Transform Functions {#three-d-transform-functions}
899
916
----------------------
@@ -908,9 +925,9 @@ In the following <dfn export>3d transform functions</dfn>, a <<zero>> behaves th
908
925
:: specifies a <a href="#Translate3dDefined">3D translation</a> by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.
:: specifies a <a href="#Rotate3dDefined">3D rotation</a> by the angle specified in last parameter about the [x,y,z] direction vector described by the first three parameters. A direction vector that cannot be normalized, such as [0,0,0], will cause the rotation to not be applied.
0 commit comments