Home >Web Front-end >Front-end Q&A >What does resize mean in css

What does resize mean in css

藏色散人
藏色散人Original
2021-05-17 14:42:354535browse

resize in css is an attribute in CSS that specifies whether the size of an element can be adjusted by the user; if you want this attribute to take effect, you need to set the overflow attribute of the element, and the value can be auto, hidden, or scroll.

What does resize mean in css

The operating environment of this article: windows7 system, css3 version, Dell G3 computer.

The resize attribute specifies whether the element can be resized by the user.

Note: If you want this attribute to take effect, you need to set the overflow attribute of the element. The value can be auto, hidden or scroll.

Syntax

resize: none|both|horizontal|vertical;

Value

none, the user cannot resize the element.

Both, the user can adjust the height and width of the element.

horizontal, the user can adjust the width of the element.

vertical, the user can adjust the height of the element.

Recommended learning: "css video tutorial"

The above is the detailed content of What does resize mean in css. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn