效果如图1-1。
效果图1-1
css代码:
white-space:
nowrap;overflow: hidden;
text-overflow: ellipsis;
display: inline-block;