加入transition过度动画

This commit is contained in:
tangly1024
2023-07-05 21:52:31 +08:00
parent 7c89871d98
commit 378a22a6c8
24 changed files with 262 additions and 132 deletions

View File

@@ -286,7 +286,7 @@ a.avatar-wrapper {
font-weight: 500;
}
.p-4-lines {
.line-clamp-4 {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
@@ -294,14 +294,21 @@ a.avatar-wrapper {
text-overflow: ellipsis;
}
.p-3-lines {
.line-clamp-3 {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 3;
}
.line-clamp-2 {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
/* fukasawa的首页响应式分栏 */
#theme-fukasawa .grid-item {
height: auto;