css 断字

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css 断字相关的知识,希望对你有一定的参考价值。

<html lang="en">
html {
  -ms-word-break: break-all;
  word-break: break-all;
  
  /* Non standard for webkit */
  word-break: break-word;

  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
}

以上是关于css 断字的主要内容,如果未能解决你的问题,请参考以下文章

css 断字

如何启用按音节自动断字?

Android 中的断字

原生 iOS 应用程序中的断字

javascript [用户名] [齐塔]断字正常

html 断字,小书签