.span{ word-wrap: break-word; word-break: break-all; overflow: hidden; } 转载于:https://www.cnblogs.com/loveMis/p/9016845.html