标签:bre 单词 hit css nowrap rap white ace class
1. 强制不换行
div{
white-space:nowrap;
}
2. 自动换行
div{
word-wrap: break-word;
word-break: normal;
}
3. 强制英文单词断行
div{
word-break:break-all;
}
标签:bre 单词 hit css nowrap rap white ace class
原文地址:https://www.cnblogs.com/gxywb/p/13083540.html