rotation-point

本页内容
上一节: Css3_pr_rotation 下一节: Css3_pr_opacity

CSS3 rotation-point 属性

将 h1 元素旋转 180 度(从上向下):<p>


示例

h1
{
    rotation-point:50% 50%;
    rotation:180deg;
}

浏览器支持

目前没有浏览器支持 rotation-point 属性。

属性定义及使用说明

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

提示:rotation-point 属性需要与 rotation 属性结合使用。

默认值: 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 如果只规定一个关键词,则第二个值将是 "center"。
x% y% 百分比值,参考边框盒宽度和高度。
上一节: Css3_pr_rotation 下一节: Css3_pr_opacity
此页面最后编辑于2022年8月19日 (星期五) 04:44。