Overflow Property:
Overflow property specifies what will happen if content overflows an element box.it only forks for block level elements with specified height.Values are

Overflow property specifies what will happen if content overflows an element box.it only forks for block level elements with specified height.Values are
- Visible
- Hidden
- Auto
- Scroll
Syntax:
selector{
overflow: Value(visible/hidden/scroll/auto)
}
selector{
overflow: Value(visible/hidden/scroll/auto)
}
1)Visible: The value is not clipped.it flows outside of the box.
2)Hidden: The value is clipped means the rest of the content is not visible.
3)Scroll: If the content is clipped then a scroll bar should be added to the block.
4)Auto : If the information is clipped then it will decide weather to add a scroll bar or not.
2)Hidden: The value is clipped means the rest of the content is not visible.
3)Scroll: If the content is clipped then a scroll bar should be added to the block.
4)Auto : If the information is clipped then it will decide weather to add a scroll bar or not.
EX:
Code:
Code:
OUTPUT: