<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
p {
position:relative;
line-height:1.4em;
height:4.2em;
overflow:hidden;
100px;
}
p::after {
content:"...";
font-weight:bold;
position:absolute;
bottom:0;
right:0;
padding-left:30px;
background: linear-gradient(to right, transparent, white 50%);
}
</style>
</head>
<body>
<p>呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵哈哈哈哈哈或或或或哈或哈哈或或或或或或或或或或或或或</p>
</body>
</html>