| Start | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| overflow-wrap
CSS HTML
|
||||||||||||
| overflow: scroll HTML CSS Result The content above is clipped in a 100px by 100px box, with scrolling available to view overflowing content. Most desktop browsers will display both horizontal and vertical scrollbars, whether or not any content is clipped. This can avoid problems with scrollbars appearing and disappearing in a dynamic environment. Printers may print overflowing content. |
||||||||||||
| overflow: visible HTML CSS Result Content is not clipped and will be rendered outside the content box if it exceeds its container size. |
||||||||||||
| Block Formatting Context Created with Overflow Using the CSS HTML Result This example shows how paragraphs within a div with the |
||||||||||||
| overflow-x and overflow-y These two properties work in a similar fashion as the HTML CSS Syntax
Parameters
RemarksWhen an element is too small to display it's contents, what happens? By default, the content will just overflow and display outside the element. That makes your work look bad. You want your work to look good, so you set the overflow property to handle the overflowing content in a desirable way. Values for the The Important note: Using the overflow property with a value different to visible will create a new block formatting context. |
Read Article
https://develop.horje.com/learn/1434/reference