How to use the overflow attribute in css
This article is about how to use the overflow attribute in css. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Css attribute skill control tutorial
Overflow sets the property of how to fix the mode in CSS when the mode of the object exceeds its specified height and width, whether it is to increase the rotation bar or to hide the shear across mode. The overflow attribute delineates what happens when the element box is formally overflowed.
The attribute of overflow may seem rusty, but the meaning and influence of div css construction is very great.
1. Css overflow grammatical structure
1. Overflow syntax:
Overflow: visible | auto | hidden | scroll
2. Css overflow parameters:
Visible-No shearing form and no turning bar.
Auto-this is the default value for body objects and textarea. Cut the content and increase the bounce bar when it is critical (be familiar with the "css overflow:auto bounce bar" article tutorial)
Hidden-- does not show patterns that exceed the size of the object.
Scroll-always showing the turning bar
3. Css overflow indicates:
Retrieves or sets how to plan content when the mode of an object exceeds its specified height and width.
Setting the equipment textarea object to the hidden value will hide its bounce bar.
4. Overflow expansion
Overflow-x
As usual, configure whether the X tendency (horizontal) displays the scroll bar.
Its value is usually set to visible, auto, scroll.
Overflow-y
As usual, can the purpose of setting the Y mark (vertical on the right) indicate the rotation bar?
Its values are usually configured with visible, auto, scroll.
Thank you for reading! This is the end of this article on "how to use overflow attributes in css". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!