text-overflow ellipsis get the text code example
Example 1: css overflow truncate
//Truncate text overflow
.element {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
Example 2: hiding text css and leaving whitespace
visibility: hidden;