CSS段落省略号 CSS样式截取字符串过长用省略号表示 .test{width:100px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;}