Css截切字符串

Css截切字符串

width: 180px;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
overflow: hidden;
height: 25px;
white-space: nowrap;



如果您觉得此文章对你帮助很大,不妨打赏下!
comments powered by Disqus