div{
white-space:nowrap;
}
自动换行
div{
word-wrap: break-word;
word-break: normal;
}
word-wrap: break-word;
word-break: normal;
}
强制英文单词断行
div{
word-break:break-all;
}
word-break:break-all;
}
div{
white-space:nowrap;
}
自动换行
强制英文单词断行
转载于:https://www.cnblogs.com/jpwahaha/p/4595338.html