diff --git a/guide/english/css/text/index.md b/guide/english/css/text/index.md index 79b6da21f2..ca4bfddfed 100644 --- a/guide/english/css/text/index.md +++ b/guide/english/css/text/index.md @@ -92,6 +92,17 @@ p { } ``` + +#### Text overflow + +``` css +p { + text-overflow: ellipsis; +} +``` + +The `text-overflow` property is used to specify how hidden overflowed content is ended, to communicate to users that the content has been cut off. For the property to work, it must be used with two other CSS properties: overflow and white-space. For example, `overflow: hidden` and `white-space: nowrap`. + #### More Information: - [W3Schools CSS text](https://w3schools.com/css/css_text.asp)