rotation

英 [rəʊˈteɪʃn]   美 [roʊˈteɪʃn]  

n.旋转,转动;轮流,循环;[农]轮作;[天]自转

复数: rotations

point

英 [pɔɪnt]   美 [pɔɪnt]  

n.点;要点;得分;标点

vt.(意思上)指向;削尖;加标点于;指路

vi.指向;表明

第三人称单数: points 复数: points 现在分词: pointing 过去式: pointed 过去分词: pointed

css rotation-point属性 语法

作用:rotation-point 属性是一对值,定义从上左边框边缘进行偏移的点。

语法:rotation-point: value;

说明:left top,left center,left bottom,right top,right center,right bottom,center top,center center,center bottom。如果只规定一个关键词,则第二个值将是 "center"。

注释:rotation-point 属性需要与 rotation 属性结合使用。目前没有浏览器支持 rotation-point 属性。

css rotation-point属性 示例

<!DOCTYPE html>
<html>
<head>
<style> 
h1
{
rotation-point:50% 50%;
rotation:180deg;
}
</style>
</head>
<body>

<h1>旋转效果</h1>

<p><b>注释:</b>目前没有浏览器支持 rotation-point 或 rotation 属性。</p>

</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例

热门推荐