CSS如下 white-space:nowrap; text-overflow:ellipsis; overflow:hidden; 转载于:https://www.cnblogs.com/badprogrammer/p/9609648.html