Home > Web Front-end > CSS Tutorial > How to use css overflow attribute

How to use css overflow attribute

silencement
Release: 2019-05-26 15:07:56
Original
3872 people have browsed it

How to use css overflow attribute

Definition and Usage

The overflow attribute specifies what happens when content overflows the element box.

Description

This attribute defines how content that overflows the content area of ​​the element 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.

How to use css overflow attribute

Example

Set the overflow attribute:

How to use css overflow attribute

The above is the detailed content of How to use css overflow attribute. 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