css rotation property


  Translation results:

English [rəʊˈteɪʃn] US [roʊˈteɪʃn]

n. Rotation, rotation; turn, cycle; [agricultural] rotation; [day] rotation

Plural: rotations

css rotation propertysyntax

Function: Rotate the element around the point defined by the rotation-point attribute.

Syntax: rotation: angle;

Description: angle Element rotation angle. Possible values: 0deg to 360deg.

Note: Borders, padding, content and background (non-fixed) will also be rotated! No browser currently supports the rotation property.

css rotation propertyexample

<!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 instance »

Click the "Run instance" button to view the online instance

Home

Videos

Q&A