CSS 參考手冊(cè)
將 h1 元素旋轉(zhuǎn) 180 度(從上向下):<p>
目前沒有瀏覽器支持 rotation-point 屬性。
rotation-point 屬性是一對(duì)值,定義從上左邊框邊緣進(jìn)行偏移的點(diǎn)。
提示:rotation-point 屬性需要與 rotation 屬性結(jié)合使用。
默認(rèn)值: | 0 |
---|---|
繼承: | no |
版本: | CSS3 |
JavaScript 語法: | object.style.rotation="180deg" |
rotation-point: value;
值 | 描述 |
---|---|
left top left center left bottom right top right center right bottom center top center center center bottom |
如果只規(guī)定一個(gè)關(guān)鍵詞,則第二個(gè)值將是 "center"。 |
x% y% | 百分比值,參考邊框盒寬度和高度。 |