css 只顯示兩行 超過顯示點點點

 
css 只能顯示兩行 超過顯示點點點
css 能夠作到: .p1{ text-align: center; color:#C8CFD6; height:34px; text-overflow: -o-ellipsis-lastline;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical; }
相關文章
相關標籤/搜索