You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by zs...@apache.org on 2019/06/20 11:44:26 UTC

[incubator-weex-site] branch zshshr-patch-3 created (now 3b99b38)

This is an automated email from the ASF dual-hosted git repository.

zshshr pushed a change to branch zshshr-patch-3
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git.


      at 3b99b38  `rotate` is the same as `rotateZ`

This branch includes the following new commits:

     new 3b99b38  `rotate` is the same as `rotateZ`

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-weex-site] 01/01: `rotate` is the same as `rotateZ`

Posted by zs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zshshr pushed a commit to branch zshshr-patch-3
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git

commit 3b99b38738e45786e597c2c12352668820622c1c
Author: zshshr <zh...@gmail.com>
AuthorDate: Thu Jun 20 19:44:22 2019 +0800

    `rotate` is the same as `rotateZ`
    
    `rotate` is the same as `rotateZ`
---
 docs/docs/styles/common-styles.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/docs/styles/common-styles.md b/docs/docs/styles/common-styles.md
index 6f773d4..9af0607 100644
--- a/docs/docs/styles/common-styles.md
+++ b/docs/docs/styles/common-styles.md
@@ -302,6 +302,7 @@ The maximum of the size for your component is device dependent, but you are in t
 
 :::tip
 Consider use `transition` instead, which supports all the style that `transform` supports except for `transform-origin` and `perspective`
+`rotate` is the same as `rotateZ`
 :::
 
 The CSS **transform** property lets you modify the coordinate space of the CSS visual formatting model. Using it, elements can be translated, rotated and scaled.
@@ -317,6 +318,7 @@ Currently supported format:
 * rotate: `degree`
 * rotateX: `degree` **v0.14+**
 * rotateY: `degree` **v0.14+**
+* rotateZ: `degree` **v0.26+** 
 * perspective: `number`, supported for Android 4.1 and above. **v0.16+**
 * transform-origin: number, percentage, keyword (top/left/right/bottom)