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

CSS3 resize プロパティ

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

Specify that a div element should be resizable by the user:

div
{
resize:both;
overflow:auto;
}

Try it yourself »

ブラウザ・サポート

Internet Explorer Firefox Opera Google Chrome Safari

resize property is supported in Firefox 4+, Chrome, and Safari.


定義と用法

resize property specifies whether or not an element is resizable by the user.

注: The resize property applies to elements whose computed overflow value is something other than "visible".

デフォルト値: none
継承: no
バージョン: CSS3
JavaScript構文: object.style.resize="both"


構文

resize: none|both|horizontal|vertical:

説明
none The user cannot resize the element
both The user can adjust both the height and the width of the element
horizontal The user can adjust the width of the element
vertical The user can adjust the height of the element


関連ページ

CSS3 チュートリアル: CSS3 User Interface


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