rotation

英 [r???te??n]? ?美 [ro??te??n]??

n.旋轉,轉動;輪流,循環(huán);[農]輪作;[天]自轉

復數(shù): rotations

point

英 [p??nt]? ?美 [p??nt]??

n.點;要點;得分;標點

vt.(意思上)指向;削尖;加標點于;指路

vi.指向;表明

第三人稱單數(shù): points 復數(shù): points 現(xiàn)在分詞: 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。如果只規(guī)定一個關鍵詞,則第二個值將是 "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>

運行實例 ?

點擊 "運行實例" 按鈕查看在線實例