css overflow three dots 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;
}
Example 3: css overflow y 3 dots
#content{
overflow: hidden;
width:100px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}