<li>CSS实现文字超出部分显示省略号</li> <div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="scode">.nowrap{ overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap; width:100%;}</pre><div class="contentsignin">로그인 후 복사</div></div>