Overflow
When the content inside an element is so large that it does not fit into it, then the content usually goes out of the border of that element or can say that it is overflow. The property overflow of CSS is used to manage this overflow according to its own.
1) overflow: visible;
When the value of the overflow is visible, the content element overflows overflow will be displayed overflow beyond the boundary.
2) overflow: hidden;
This overflow content is hidden. There is only a content show that happens inside the border.
3) overflow: scroll;
When we give the value scroll of the overflow, overflowing content does not go out of the border but a scrollbar is added to the element. To see the entire content, the scroll bar of content has to be topped up.
4) Overflow: auto;
When we put the value auto overflow, the scrollbar is displayed only if the content is overflow.
No comments:
Post a Comment