InterviewSolution
Saved Bookmarks
| 1. |
How does this property work overflow: hidden? |
|
Answer» The overflow property in CSS is used for specifying whether the content has to be clipped or the scrollbars have to be added to the content area when the content size exceeds the specified container size where the content is enclosed. If the value of overflow is HIDDEN, the content gets clipped post the size of the container thereby making the content invisible. For example, div { width: 150px; HEIGHT: 50px; overflow: hidden;}If the content of the div is very large and exceeds the height of 50px, the content gets clipped post 50px and the rest of the content is not made VISIBLE. |
|