http://www.cnblogs.com/hellman/p/5755376.html
https://jingyan.baidu.com/article/2a138328971e8c074a134f82.html
p{
width:200px;
//overflow : hidden;
//text-overflow: ellipsis;
//display: -webkit-box;
//-webkit-line-clamp: 2;
//-webkit-box-orient: vertical;
position:relative;
line-height:1.4em;
height:4.2em;
overflow:hidden;
}
p::after{
content:"...";
font-weight:bold;
position:absolute;
bottom:0;
right:0;
padding:0 20px2px10px;
}
注釋掉的代碼,據(jù)說也能實(shí)現(xiàn),但是在我這里不管用。最后還是用的第二種方法