The text exceeds two lines, the ellipsis is displayed on the mobile terminal, double-click to zoom is prohibited
Single line display ellipsis
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap
Multiple lines omitted
display: -webkit-box;/** 对象作为伸缩盒子模型显示 **/
word-break: break-all;
text-overflow: ellipsis;
-webkit-box-orient: vertical;/** 设置或检索伸缩盒对象的子元素的排列方式 **/
-webkit-line-clamp: 3;/** 显示的行数 **/
overflow: hidden;
Double tap to zoom is prohibited on mobile
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">