Hide and multi-line editable content page initialization style

// 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; 

}

 

Guess you like

Origin www.cnblogs.com/Tmode/p/10942059.html