The text-overflow property controls whether to use the ellipsis character (...) to indicate text overflow.
p {
text-overflow: ellipsis;
}
Property |
Value |
Explanation |
text-overflow |
ellipsis |
the ellipsis character is displayed |
clip |
the ellipsis character is not displayed (default) |
Example