css rotation-point property


  Translation results:

rotation

英[rəʊˈteɪʃn] 美[roʊˈteɪʃn]

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

Plural: rotations

point

## English[pɔɪnt] US[pɔɪnt]

n.Point; key point; score; punctuation

vt. (meaning) point to; sharpen; punctuate; point the way

vi. point to; indicate

Third person singular: points plural: points present participle : pointing past tense: pointed past participle: pointed

css rotation-point propertysyntax

Function:The rotation-point attribute is a pair of values ​​that define the point offset from the top and left border edges.

Syntax: rotation-point: value;

Description: left top, left center, left bottom, right top, right center, right bottom, center top, center center, center bottom. If only one keyword is specified, the second value will be "center".

Note: rotation-point attribute needs to be used in conjunction with rotation attribute. No browser currently supports the rotation-point property.

css rotation-point 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

Popular Recommendations

Home

Videos

Q&A