# Overflow
Configure how content overflows when it becomes out of container bounds.
# 如何运行
Specify the elements overflow
, overflow-x
, or overflow-y
property. These classes can be applied using the following format: {overflow}-{value}
. Where overflow refers to the type: overflow
, overflow-x
or overflow-y
and value can be one of: auto
, hidden
, or visible
以下是所有可用的支持类列表:
overflow-auto
overflow-hidden
overflow-visible
overflow-x-auto
overflow-x-hidden
overflow-x-visible
overflow-y-auto
overflow-y-hidden
overflow-y-visible
# 示例
# Overflow property
overflow-auto
is used to add scrollbars to an element when its content overflows the bounds. while overflow-hidden
is used to clip any content that overflows the bounds. overflow-visible
will prevent content from being clipped even when it overflows the bounds.
# Overflow X property
overflow-x can be used to specify horizontal overflows to an element if needed.
了解更多?
继续学习由 我们的团队 选择的相关内容,或通过使用下面的导航链接在页面之间跳转。
在 GitHub 上编辑此页面
最后更新:11/12/2024, 6:59:50 AM