CSS text-overflow

Previous Next

Demo of the different values of the text-overflow property.

Click the property values below to see the result:

text-overflow: clip;
text-overflow: ellipsis;
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Play more with the code in our Tryit yourself editor: Try it Yourself ❯