1、一行文字超出的使用...展示
display: inline-block; // 转成行内块
overflow: hidden;
width: 100px; // 宽度必设
word-break: keep-all;
white-space: nowrap; // 一行展示
text-overflow: ellipsis; //溢出变成...
2、a标签 去掉下划线
text-decoration:none;
display: inline-block; // 转成行内块
overflow: hidden;
width: 100px; // 宽度必设
word-break: keep-all;
white-space: nowrap; // 一行展示
text-overflow: ellipsis; //溢出变成...
text-decoration:none;