CSS rotation 属性
浏览器支持
目前没有浏览器支持 rotation 属性。
CSS 语法
rotation: angle;
属性值
| 值 | 描述 |
|---|---|
| angle | 元素旋转角度。可能的值:0deg 到 360deg。 |
技术细节
| 默认值: | 0 |
|---|---|
| 继承性: | no |
| 版本: | CSS3 |
| JavaScript 语法: | object.style.rotation="180deg" |
目前没有浏览器支持 rotation 属性。
rotation: angle;
| 值 | 描述 |
|---|---|
| angle | 元素旋转角度。可能的值:0deg 到 360deg。 |
| 默认值: | 0 |
|---|---|
| 继承性: | no |
| 版本: | CSS3 |
| JavaScript 语法: | object.style.rotation="180deg" |
W3School 简体中文版提供的内容仅用于培训和测试,不保证内容的正确性。通过使用本站内容随之而来的风险与本站无关。版权所有,保留一切权利。
关于 W3School 帮助 W3School 使用条款 隐私条款 技术支持:赢科 蒙 ICP 备 06004630 号