css显示两行,超出显示...

技术 · 2021-10-06
css显示两行,超出显示...

显示两行,后面显示...

display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; 
overflow: hidden;
css
Theme Jasmine by Kent Liao