CSS3 rotation-point 属性
浏览器支持
目前没有浏览器支持 rotation-point 属性。
定义和用法
rotation-point 属性是一对值,定义从上左边框边缘进行偏移的点。
提示:rotation-point 属性需要与 rotation 属性结合使用。
| 默认值: | 50% 50% |
|---|---|
| 继承性: | no |
| 版本: | CSS3 |
| JavaScript 语法: | object.style.rotationPoint="25% 25%" |
语法
rotation-point: value;
| 值 | 描述 |
|---|---|
|
如果只规定一个关键词,则第二个值将是 "center"。 |
| x% y% | 百分比值,参考边框盒宽度和高度。 |