ホーム HTML CSS XML JAVASCRIPT   PHP SQL MORE...   リファレンス 事例集    

CSS3 rotation プロパティ

CSS3 Reference 完全な CSS3 リファレンス

Rotate h1 elements 180 degrees (upside down):

h1
{
rotation-point:50% 50%;
rotation:180deg;
}

Try it yourself »

ブラウザ・サポート

Internet Explorer Firefox Opera Google Chrome Safari

rotation プロパティをサポートしているブラウザはありません。


定義と用法

rotation property rotates a block-level element counterclockwise around a given point defined by the rotation-point property.

チップ: The border, padding, content, and backgrounds (that are not fixed) are also rotated!

デフォルト値: 0
継承: no
バージョン: CSS3
JavaScript構文: object.style.rotation="180deg"


構文

rotation: angle;

説明
angle The rotation of the element. Possible values: 0deg to 360deg


CSS3 Reference 完全な CSS3 リファレンス