Does overflow belong to css3?

青灯夜游
Release: 2022-03-18 16:02:47
Original
2388 people have browsed it

The overflow attribute does not belong to css3. The overflow attribute specification is defined in the CSS2 version and does not belong to the CSS3 version; but its related attributes "overflow-x", "overflow-y" and "overflow-style" belong to the CSS3 version.

Does overflow belong to css3?

The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.

overflow does not belong to css3.

The overflow property specifies what happens when content overflows the element's box.

This attribute defines how content that overflows the element's content area will be handled. If the value is scroll, the user agent provides a scrolling mechanism whether required or not. Therefore, it is possible that scrollbars will appear even if everything fits inside the element box.

The overflow attribute specification is defined in the css2 version and does not belong to the css3 version:

Does overflow belong to css3?

But overflow related attributes: "overflow-x", " overflow-y" and "overflow-style" belong to the css3 version

Attribute Description CSS
overflow-x If the content overflows the element content area, whether to crop the left/right edge of the content. 3
overflow-y If the content overflows the element content area, whether to crop the top/bottom edge of the content. 3
overflow-style Specifies the preferred scrolling method for overflow elements. 3

(Learning video sharing: css video tutorial, web front-end)

The above is the detailed content of Does overflow belong to css3?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template