小白教程
所有教程
关于
Search
172.70.130.160
172.70.130.160
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Css3 pr rotation”的源代码
本页内容
上一节:
Css3_pr_overflow_style
下一节:
Css3_pr_rotation_point
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:rotation}}[[Category:css reference|87]] = CSS3 rotation 属性 = 将 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 属性。 == 属性定义及使用说明 == rotation 属性围绕由 [[css3 pr rotation point|rotation-point]] 属性定义的指定点,对块级元素进行逆时针旋转。 {| class="table table-striped table-hover" | 默认值: | 0 |- | 继承: | no |- | 版本: | CSS3 |- | JavaScript 语法: | object.style.rotation="180deg" |} == 语法 == <pre> rotation: angle;</pre> {| class="table table-striped table-hover" ! 值 ! 描述 |- | angle | 元素旋转角度。可能的值:0deg 到 360deg。 |}
返回至“
Css3 pr rotation
”。
上一节:
Css3_pr_overflow_style
下一节:
Css3_pr_rotation_point