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.
28 lines
575 B
28 lines
575 B
@mixin no-wrap {
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@mixin more-wrap($row: 2) {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: $row;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
@mixin rotate($turn: 360deg, $count: infinite) {
|
|
animation-name: rotate;
|
|
animation-duration: 2s;
|
|
animation-iteration-count: $count;
|
|
animation-timing-function: linear;
|
|
@keyframes rotate {
|
|
0% {
|
|
transform: rotate(0) translateZ(0);
|
|
}
|
|
100% {
|
|
transform: rotate($turn) translateZ(0);
|
|
}
|
|
}
|
|
}
|
|
|