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.
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:
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!