diff options
Diffstat (limited to 'files')
-rw-r--r-- | files/zh-cn/web/css/transform-origin/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/files/zh-cn/web/css/transform-origin/index.html b/files/zh-cn/web/css/transform-origin/index.html index bb530b4db7..7c1fff5802 100644 --- a/files/zh-cn/web/css/transform-origin/index.html +++ b/files/zh-cn/web/css/transform-origin/index.html @@ -17,6 +17,8 @@ translation_of: Web/CSS/transform-origin <p>转换起点是应用转换的点。例如,<code style="font-style: normal;">rotate()</code>函数的转换原点是旋转中心。(这个属性的应用原理是先用这个属性的赋值转换该元素,进行变形,然后再用这个属性的值把元素转换回去)</p> +<p>默认的转换原点是 <code>center</code></p> + <h2 id="语法">语法</h2> <pre class="brush: css">/* One-value syntax */ |