css实现文本超出li宽度的部分隐藏_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:31:16
Original
1143 people have browsed it

css实现文本超出li宽度的部分隐藏:
在某些实际应用中,希望把文本超出的部分隐藏而非换行,下面就是一段这样的代码实例,大家可以参考一下。
代码如下:

     蚂蚁部落  
蚂蚁部落欢迎您,只有奋斗才会有美好的明天
Copy after login

原文地址是:http://www.softwhy.com/forum.php?mod=viewthread&tid=9681

更多内容可以参阅:http://www.softwhy.com/divcss/

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!