The best CSS3 resize property Tutorial In 2024, In this tutorial you can learn Examples,Browser Support,Attribute definitions and instructions,grammar,related articles,
Specify a div element that allows users to resize:
Figures in the table represent the first browser to support the version number of the property.
Immediately following the digital -webkit-, -ms- or -moz- ago in support of the prefix attribute first browser version number.
属性 | |||||
---|---|---|---|---|---|
resize | 4.0 | 不兼容 | 5.0 4.0 -moz- |
4.0 | 15.0 |
resize property specifies whether an element is resized by the user's.
Note: resize attribute for calculating the value of other elements of the overflow is not "visible".
Defaults: | none |
---|---|
inherit: | no |
version: | CSS3 |
JavaScript syntax: | object .style.resize = "both" |
value | description |
---|---|
none | Users can not adjust the size of the element. |
both | Users can adjust the height and width of the element. |
horizontal | Users can adjust the width of the element. |
vertical | Users can adjust the height of the element. |
CSS3 tutorial: CSS3 User Interface