css3 resize attribute
Translation results:
resize
UK [ˌri:ˈsaɪz] US [,ri'saɪz]
v.Resize
css3 resize attributesyntax
Function: Specifies whether the element size can be adjusted by the user.
Note: Firefox, Chrome and Safari support the resize attribute.
resize is a property in CSS3, which is used to specify whether an element is resized by the user
css3 resize attributeexample
<!DOCTYPE html> <html> <head> <style> div { border:2px solid; padding:10px 40px; width:300px; resize:both; overflow:auto; } </style> </head> <body> <div>resize 属性规定是否可由用户调整元素尺寸。</div> <p><b>注释:</b> Firefox 4+、Safari 以及 Chrome 支持 resize 属性。</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance