text-overflow:ellipsis溢出文本显示省略号的详细方法

.ofh {
white-space: nowrap;
word-wrap: normal;
word-break: normal;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
overflow: hidden;
}

Leave a Reply