Blogger Information
Blog 25
fans 0
comment 0
visits 42140
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
title 不完全显示用"..."省略 CSS完成
程先生的博客
Original
1001 people have browsed it

非常简单:

white-space: nowrap;    //不换行

overflow: hidden;         //多余部分隐藏

text-overflow: ellipsis;   //用...省略


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post