1、单行省略展示
<div class="test-text"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa </div>
.test-text { width: 100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
1、单行省略展示
<div class="test-text"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa </div>
.test-text { width: 100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }