css max one line three dots code example
Example 1: overflow dottet
.cut-text {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
Example 2: css overflow y 3 dots
#content{
overflow: hidden;
width:100px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
Example 3: css max one line three dots
span {
display: inline-block;
width: 180px;
white-space: nowrap;
overflow: hidden !important;
text-overflow: ellipsis;
}