when string is bigger than width ellipsis code example
Example: css ellipsis
div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}