P元素内数字和字母不能自动换行

为p标签设置CSS属性word-break即可

p{
  word-break:break-all;
}

猜你喜欢

转载自blog.csdn.net/marsur/article/details/101369364