解决汉字和一段超长的数字合并在一起展示的时候换行的问题

 //添加样式,自动换行
 word-break: break-all;
 word-wrap: break-word;
 display: inline-block;

 

标点符号中带着文字换行问题:
line-break: anywhere;

来源:https://zhuanlan.zhihu.com/p/400100131

posted @ 2019-03-23 10:41  第一神坑  Views(400)  Comments(0Edit  收藏  举报