// multiple hidden lines is omitted .class { the display: -webkit- Box; -webkit-a BOX- Orient: Vertical; -webkit-Line-CLAMP: 2 ; overflow: hidden; White - Space: Normal; text - overflow: ellipsis; } // when the content page style-automatically initialized .class { font - size: 12px; Line -height: 2 ; White - Space: Normal; Word - BREAK : BREAK - All; }