You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
448 B

$main-color: #9278ff;
$max-width: 1440px;
$min-width: 1280px;
@mixin ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@mixin mul-ellipsis($num) {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: $num;
text-overflow: ellipsis;
overflow: hidden;
}
.ellipsis {
@include ellipsis();
}
.mul-ellipsis2 {
@include mul-ellipsis(2);
}
.mul-ellipsis3 {
@include mul-ellipsis(3);
}