Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 370 Bytes

File metadata and controls

36 lines (26 loc) · 370 Bytes

rotation-point

介绍

定义距离上左边框边缘的偏移点。

语法

rotation-point: value;

例:

<!DOCTYPE html>
<html>
<head>
<style>
h1
{
rotation-point:50% 50%;
rotation:180deg;
}
</style>
</head>
<body>

<h1>旋转效果</h1>


</body>
</html>

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