Untitled
Anonymous
Plain Text
09/20/2022 7:29 AM
347 B
22
Indexable
Never
.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
@for $i from 0 through 4 {
.ellipsis-line-#{$i * $start} {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: #{$i * $start};
-webkit-box-orient: vertical;
word-break: break-all;
}
}Editor is loading...