two line clamp and ellipse
Showing
1 changed file
with
5 additions
and
0 deletions
@@ -73,6 +73,11 @@ $hoverColor: #379ed6; | @@ -73,6 +73,11 @@ $hoverColor: #379ed6; | ||
73 | width: 234px; | 73 | width: 234px; |
74 | word-wrap: break-word; | 74 | word-wrap: break-word; |
75 | margin-bottom: 13px; | 75 | margin-bottom: 13px; |
76 | + display: -webkit-box; | ||
77 | + -webkit-box-orient: vertical; | ||
78 | + -webkit-line-clamp: 2; | ||
79 | + line-height: 1.3em; | ||
80 | + overflow: hidden; | ||
76 | } | 81 | } |
77 | 82 | ||
78 | .size { | 83 | .size { |
-
Please register or login to post a comment