1.阻止字体换行:white-space:nowrap;(nowrap是指文本在一行内显示完,不换行)

2.强制英文字体断行:word-break:break-all;

3.让文本换行:word-wrap:break-word;word-break:normal

相关文章:

  • 2022-12-23
  • 2021-12-12
  • 2021-08-10
  • 2021-07-11
  • 2022-12-23
  • 2021-10-01
  • 2022-12-23
  • 2021-06-02
猜你喜欢
  • 1970-01-01
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2021-04-09
  • 2022-12-23
  • 2022-01-25
相关资源
相似解决方案