<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://zhidian.wuute.com/html5dev/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://zhidian.wuute.com/html5dev/feed.php">
        <title>HTML5知典 26:86:68</title>
        <description></description>
        <link>http://zhidian.wuute.com/html5dev/</link>
        <image rdf:resource="http://zhidian.wuute.com/html5dev/lib/tpl/bootstrap3_1/images/favicon.ico" />
       <dc:date>2026-05-20T19:09:59+09:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/matrix?rev=1492837639&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/matrix3d?rev=1492836408&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/perspective?rev=1492836409&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotate?rev=1492838340&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotate3d?rev=1492838340&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotatex?rev=1492838340&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotatey?rev=1492838340&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotatez?rev=1492838340&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scale?rev=1492836409&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scale3d?rev=1492834317&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scalex?rev=1492838340&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scaley?rev=1492838340&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scalez?rev=1492838340&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/skew?rev=1492838340&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/skewx?rev=1492838286&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/skewy?rev=1492838229&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/start?rev=1492947556&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transform?rev=1492837303&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transformfunction?rev=1492837363&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transformorigin?rev=1492838191&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transformstyle?rev=1492837570&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translate?rev=1492837764&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translate3d?rev=1492837815&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translatex?rev=1492838086&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translatey?rev=1492838151&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translatez?rev=1492838130&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://zhidian.wuute.com/html5dev/lib/tpl/bootstrap3_1/images/favicon.ico">
        <title>HTML5知典</title>
        <link>http://zhidian.wuute.com/html5dev/</link>
        <url>http://zhidian.wuute.com/html5dev/lib/tpl/bootstrap3_1/images/favicon.ico</url>
    </image>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/matrix?rev=1492837639&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:07:19+09:00</dc:date>
        <title>matrix()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/matrix?rev=1492837639&amp;do=diff</link>
        <description>matrix()

规定 2D 转换，使用六个值的矩阵。

语法
matrix(a, b, c, d, tx, ty)
值
值描述a规定X轴的缩放比例。b规定Y轴的倾斜角度。c规定X轴的倾斜角度。d规定Y轴的缩放比例。tx规定X轴的移动距离。</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/matrix3d?rev=1492836408&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T13:46:48+09:00</dc:date>
        <title>matrix3d()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/matrix3d?rev=1492836408&amp;do=diff</link>
        <description>matrix3d()

规定3D转换，使用 16 个值的 4×4 矩阵。

语法
matrix3d(a1, b1, c1, d1, a2, b2, c2, d2, a3, b3, c3, d3, a4, b4, c4, d4)
值
值描述a1、b1、c1、d1、a2、b2、c2、d2、a3、b3、c3、d3、d4规定线性转换。a4、b4、c4</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/perspective?rev=1492836409&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T13:46:49+09:00</dc:date>
        <title>perspective()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/perspective?rev=1492836409&amp;do=diff</link>
        <description>perspective()

为 3D 转换元素定义透视视图。

语法
perspective(n)
值
值描述n一个&lt;length&gt;值。它用来应用于元素的透视变换。如果它是 0 或负值，则应用没有透视变换。
例子

HTML
&lt;div class=&quot;stage&quot;&gt;
  &lt;div class=&quot;box&quot;&gt;&lt;/div&gt; 
&lt;/div&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotate?rev=1492838340&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:19:00+09:00</dc:date>
        <title>rotate()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotate?rev=1492838340&amp;do=diff</link>
        <description>rotate()

规定 2D 旋转，在参数中规定角度。

语法
rotate(angle)
值
值描述angle&lt;angle&gt;代表旋转的角度。一个正数的角度表示顺时针旋转，负数的角度表示逆时针旋转。
例子

HTML
&lt;div class=&quot;stage&quot;&gt;&lt;/div&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotate3d?rev=1492838340&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:19:00+09:00</dc:date>
        <title>rotate3d()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotate3d?rev=1492838340&amp;do=diff</link>
        <description>rotate3d()

规定3D 旋转。

语法
rotate3d(x,y,z,angle)
值
值描述x规定围绕X轴旋转的矢量值。y规定围绕Y轴旋转的矢量值。z规定围绕Z轴旋转的矢量值。angle规定旋转的角度。一个正数的角度表示顺时针旋转，负数的角度表示逆时针旋转。</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotatex?rev=1492838340&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:19:00+09:00</dc:date>
        <title>rotateX()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotatex?rev=1492838340&amp;do=diff</link>
        <description>rotateX()

规定围绕X轴旋转。

语法
rotateX(angle)
值
值描述angle	&lt;angle&gt;代表旋转的角度。一个正数的角度表示顺时针旋转，负数的角度表示逆时针旋转。
例子

HTML
&lt;div class=&quot;stage&quot;&gt;transform:rotateX(60deg)&lt;/div&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotatey?rev=1492838340&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:19:00+09:00</dc:date>
        <title>rotateY()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotatey?rev=1492838340&amp;do=diff</link>
        <description>rotateY()

规定围绕Y轴旋转。

语法
rotateY(angle)
值
值描述angle	规定旋转的角度。正数的角度表示顺时针旋转，负数的角度表示逆时针旋转。
例子

HTML
&lt;div class=&quot;stage&quot;&gt;transform:rotateX(60deg)&lt;/div&gt;
CSS
.stage{
  width:350px;
  height:50px;
  background:red;
  transform:rotateY(60deg);//沿着 Y 轴的3D旋转60度。
}</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotatez?rev=1492838340&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:19:00+09:00</dc:date>
        <title>rotateZ()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/rotatez?rev=1492838340&amp;do=diff</link>
        <description>rotateZ()

规定围绕Z轴旋转。

语法
rotateZ(angle)
值
值描述angle	规定旋转的角度。正数的角度表示顺时针旋转，负数的角度表示逆时针旋转。
例子

HTML
&lt;div class=&quot;stage&quot;&gt;
  &lt;div class=&quot;box&quot;&gt;transform:rotateX(60deg)&lt;/div&gt;
&lt;/div&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scale?rev=1492836409&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T13:46:49+09:00</dc:date>
        <title>scale()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scale?rev=1492836409&amp;do=diff</link>
        <description>scale()

规定 2D 缩放转换。

语法
scale(x) 
scale(x, y)
值
值描述x规定X轴上的缩放比例。y规定Y轴上的缩放比例。
例子

HTML
 &lt;div class=&quot;stage&quot;&gt;
   &lt;div class=&quot;box&quot;&gt;transform:scale(2)&lt;/div&gt;
&lt;/div&gt;
CSS
.stage{
  width:100%;
  height:200px;
  background:#333;
  text-align:center;
}
.box{
  display:inline-block;
  width:350px;
  height:50px;
  background:red;
  font-size:20px;
  color:#fff;
  transform:scale(2);//在中心位置处scale(2)倍。
}</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scale3d?rev=1492834317&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T13:11:57+09:00</dc:date>
        <title>scale3d()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scale3d?rev=1492834317&amp;do=diff</link>
        <description>scale3d()

规定 3D 缩放转换。	

语法
scale3d(x, y, z)
值
值描述x规定X轴上的缩放比例。。y规定Y轴上的缩放比例。。z规定Z轴上的缩放比例。。
例子

HTML
 &lt;div class=&quot;stage&quot;&gt;
   &lt;div class=&quot;box&quot;&gt;transform:scale3d(2,1,3)&lt;/div&gt;
&lt;/div&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scalex?rev=1492838340&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:19:00+09:00</dc:date>
        <title>scaleX()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scalex?rev=1492838340&amp;do=diff</link>
        <description>scaleX()

规定X轴上的缩放。

语法
scaleX(x)
值
值描述x规定X轴上的缩放比例。
例子

HTML
 &lt;div class=&quot;stage&quot;&gt;
   &lt;div class=&quot;box&quot;&gt;transform:scaleX(2)&lt;/div&gt;
&lt;/div&gt;
CSS
.stage{
  width:100%;
  height:200px;
  background:#333;
  text-align:center;
}
.box{
  display:inline-block;
  width:350px;
  height:50px;
  background:red;
  font-size:20px;
  color:#fff;
  transform:scaleX(2);//在中心位置处scaleX(2)倍。
}</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scaley?rev=1492838340&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:19:00+09:00</dc:date>
        <title>scaleY()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scaley?rev=1492838340&amp;do=diff</link>
        <description>scaleY()

规定Y轴上的缩放。

语法
scaleY(y)
值
值描述y规定Y轴上的缩放比例。
例子

HTML
 &lt;div class=&quot;stage&quot;&gt;
   &lt;div class=&quot;box&quot;&gt;transform:scaleY(2)&lt;/div&gt;
&lt;/div&gt;
CSS
.stage{
  width:100%;
  height:200px;
  background:#333;
  text-align:center;
}
.box{
  display:inline-block;
  width:350px;
  height:50px;
  background:red;
  font-size:20px;
  color:#fff;
  transform:scaleY(2);//在中心位置处scaleY(2)倍。
}</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scalez?rev=1492838340&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:19:00+09:00</dc:date>
        <title>scaleZ()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/scalez?rev=1492838340&amp;do=diff</link>
        <description>scaleZ()

规定Z轴上的缩放。

语法
scaleZ(z)
值
值描述z规定Z轴上的缩放比例。
例子

HTML
 &lt;div class=&quot;stage&quot;&gt;
   &lt;div class=&quot;box&quot;&gt;transform:scaleZ(2)&lt;/div&gt;
&lt;/div&gt;
CSS
.stage{
  width:100%;
  height:200px;
  background:#333;
  text-align:center;
}
.box{
  display:inline-block;
  width:350px;
  height:50px;
  background:red;
  font-size:20px;
  color:#fff;
  transform:scaleZ(2);//在中心位置处scaleZ(2)倍。
}</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/skew?rev=1492838340&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:19:00+09:00</dc:date>
        <title>skew()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/skew?rev=1492838340&amp;do=diff</link>
        <description>skew()

规定2D倾斜转换。

语法
skew(x-angle)   
skew(x-angle,y-angle)
值
值描述x-angle规定X轴的倾斜角度。y-angle规定Y轴的倾斜角度。
例子

HTML
 &lt;div class=&quot;stage&quot;&gt;
   &lt;div class=&quot;box&quot;&gt;transform:skew(10deg,10deg)&lt;/div&gt;
&lt;/div&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/skewx?rev=1492838286&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:18:06+09:00</dc:date>
        <title>skewX()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/skewx?rev=1492838286&amp;do=diff</link>
        <description>skewX()

规定X轴上的倾斜转换。

语法
skewX(angle)
值
值描述angle规定倾斜角度。
例子

HTML
 &lt;div class=&quot;stage&quot;&gt;
   &lt;div class=&quot;box&quot;&gt;transform:skewX(10deg)&lt;/div&gt;
&lt;/div&gt;
CSS
.stage{
  width:100%;
  height:200px;
  background:#333;
  text-align:center;
}
.box{
  display:inline-block;
  width:350px;
  height:50px;
  background:red;
  font-size:20px;
  color:#fff;
  transform:skewX(10deg);//沿 X 坐标倾斜10度。
}</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/skewy?rev=1492838229&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:17:09+09:00</dc:date>
        <title>skewY()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/skewy?rev=1492838229&amp;do=diff</link>
        <description>skewY()

规定Y轴上的倾斜转换。

语法
skewX(angle)
值
值描述angle规定倾斜角度。
例子

HTML
 &lt;div class=&quot;stage&quot;&gt;
   &lt;div class=&quot;box&quot;&gt;transform:skewY(10deg)&lt;/div&gt;
&lt;/div&gt;
CSS
.stage{
  width:100%;
  height:200px;
  background:#333;
  text-align:center;
}
.box{
  display:inline-block;
  width:350px;
  height:50px;
  background:red;
  font-size:20px;
  color:#fff;
  transform:skewY(10deg);//沿 Y 坐标倾斜10度。
}</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/start?rev=1492947556&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-23T20:39:16+09:00</dc:date>
        <title>变形</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/start?rev=1492947556&amp;do=diff</link>
        <description>变形

定义

变形(Transform-)属性是一些对HTML元素进行线性仿射变形相关的CSS属性。

概述

变形包括2D变形和3D变形。

具体常用的2D变形有以下5种：

	*  伸缩(scale) 
使元素以相同的缩放中心点和基数沿水平方向、垂直方向或两个方向同时缩放。其中心点就是元素的中心位置，缩放基数为1，如果其值大于1元素就放大，反之其值小于1，元素缩小。</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transform?rev=1492837303&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:01:43+09:00</dc:date>
        <title>transform</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transform?rev=1492837303&amp;do=diff</link>
        <description>transform

transform 属性规定元素应用 2D 或 3D 转换。该属性允许我们对元素进行旋转、缩放、移动或倾斜。

语法
transform: none|transform-functions;
值
值描述none规定不进行转换。matrix()规定 2D 转换，使用六个值的矩阵。</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transformfunction?rev=1492837363&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:02:43+09:00</dc:date>
        <title>transform-function</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transformfunction?rev=1492837363&amp;do=diff</link>
        <description>transform-function

规定一个为了改变元素显示效果而应用到该元素上的函数，这些变换函数通常代表一类矩阵，最终如何显示出来决定于这些函数矩阵和元素每个点相乘的结果。

列表
值描述none</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transformorigin?rev=1492838191&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:16:31+09:00</dc:date>
        <title>transform-origin</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transformorigin?rev=1492838191&amp;do=diff</link>
        <description>transform-origin

transform-origin 属性更改元素变形的原点。例如，rotate()的transform-origin 是旋转的中心点 (这个属性的应用原理是先用这个属性的负值translate该元素，进行变形，然后再用这个属性的值把元素translate回去)。</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transformstyle?rev=1492837570&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:06:10+09:00</dc:date>
        <title>transform-style</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/transformstyle?rev=1492837570&amp;do=diff</link>
        <description>transform-style

transform-style规定该元素的嵌套元素如何在3D空间中呈现。

语法
transform-style: preserve-3d
transform-style: flat
  
transform-style: inherit
值
值描述preserve-3d规定嵌套元素在三维空间内。flat规定嵌套元素位于此元素所在的平面内。</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translate?rev=1492837764&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:09:24+09:00</dc:date>
        <title>translate()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translate?rev=1492837764&amp;do=diff</link>
        <description>translate()

规定平面移动。

语法
translate(tx)       
translate(tx, ty)
值
值描述tx规定X轴的移动距离。ty规定Y轴的移动距离,与tx同值的情况下可省略。
例子

HTML
&lt;div class=&quot;stage&quot;&gt;&lt;/div&gt;
CSS
.stage{
    width:50px; 
    height:50px;
    background:red;
    transform: translate(50%, 50%);
}</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translate3d?rev=1492837815&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:10:15+09:00</dc:date>
        <title>translate3d()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translate3d?rev=1492837815&amp;do=diff</link>
        <description>translate3d()

规定3D空间移动。

语法
translate3d(x, y, z)
值
值描述tx&lt;length&gt;值或&lt;percentage&gt;值，规定X轴的移动距离。。ty&lt;length&gt;值或&lt;percentage&gt;值，规定Y轴的移动距离。。tz&lt;length&gt;，规定Z轴的移动距离。。</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translatex?rev=1492838086&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:14:46+09:00</dc:date>
        <title>translateX()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translatex?rev=1492838086&amp;do=diff</link>
        <description>translateX()

规定X轴上的移动。

语法
translateX(t)

值
值描述t规定移动距离。
例子

HTML
&lt;div class=&quot;stage&quot;&gt;
  &lt;div class=&quot;box&quot;&gt;&lt;/div&gt; 
&lt;/div&gt;
CSS
.stage{width:100px;height:100px;}
.box {
  width:50px; height:50px;
  background:red;
  animation:flipAround 4s infinite;
  transform-origin:right;
}
@keyframes 'flipAround' {
  25% { 
    transform-origin:right; 
    animation-mode:forwards;
    transform:rotateY(-180deg);
  }
  25.001% {
    transform-origin:bottom;
    transform:translateX(50px); //旋转轴的 X 坐标 50个像素。
  }
 …</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translatey?rev=1492838151&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:15:51+09:00</dc:date>
        <title>translateY()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translatey?rev=1492838151&amp;do=diff</link>
        <description>translateY()

规定Y轴上的移动。

语法
translateY(t)
值
值描述t规定移动距离。
例子

HTML
&lt;div class=&quot;stage&quot;&gt;
  &lt;div class=&quot;box&quot;&gt;&lt;/div&gt; 
&lt;/div&gt;
CSS
.stage{width:100px;height:100px;}
.box {
  width:50px; height:50px;
  background:red;
  animation:flipAround 4s infinite;
  transform-origin:right;
}
@keyframes 'flipAround' {
  25% { 
    transform-origin:right; 
    animation-mode:forwards;
    transform:rotateY(-180deg);
  }
  25.001% {
    transform-origin:bottom;
    transform:translateX(50px); 
  }
  50% { 
    transfo…</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translatez?rev=1492838130&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-22T14:15:30+09:00</dc:date>
        <title>translateZ()</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/86/68/translatez?rev=1492838130&amp;do=diff</link>
        <description>translateZ()

规定Z轴Z上的移动。

语法
translateZ(t)
值
值描述t规定Z轴的移动距离。
例子

HTML
 &lt;div class=&quot;stage&quot;&gt;
    &lt;div class=&quot;positioning animated&quot;&gt;
      &lt;div class=&quot;monitor&quot;&gt;
        &lt;figure class=&quot;back&quot;&gt;back&lt;/figure&gt;
        &lt;figure class=&quot;front&quot;&gt;front&lt;/figure&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</description>
    </item>
</rdf:RDF>
