小白教程
所有教程
关于
Search
172.70.127.123
172.70.127.123
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Css3 pr rotation point”的源代码
本页内容
上一节:
Css3_pr_rotation
下一节:
Css3_pr_opacity
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:rotation-point}}[[Category:css reference|88]] = CSS3 rotation-point 属性 = 将 h1 元素旋转 180 度(从上向下):<p> <sample title="" desc="" lang="html" hererun="1"> h1 { rotation-point:50% 50%; rotation:180deg; } </sample> <run name=""> <!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> </run> == 浏览器支持 == 目前没有浏览器支持 rotation-point 属性。 == 属性定义及使用说明 == rotation-point 属性是一对值,定义从上左边框边缘进行偏移的点。 '''提示:'''rotation-point 属性需要与 [[css3 pr rotation|rotation]] 属性结合使用。 {| class="table table-striped table-hover" | 默认值: | 0 |- | 继承: | no |- | 版本: | CSS3 |- | JavaScript 语法: | object.style.rotation="180deg" |} == 语法 == <pre>rotation-point: value;</pre> {| class="table table-striped table-hover" ! 值 ! 描述 |- | left top left center left bottom right top right center right bottom center top center center center bottom | 如果只规定一个关键词,则第二个值将是 "center"。 |- | x% y% | 百分比值,参考边框盒宽度和高度。 |}
返回至“
Css3 pr rotation point
”。
上一节:
Css3_pr_rotation
下一节:
Css3_pr_opacity