wrap text after 5 words and show 3 dots using css code example
Example 1: css add dots if text too long
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
Example 2: overflow dottet
.cut-text {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}