CSS:
overflow-wrap: break-word;
word-wrap: break-word;
-webkit-hyphens: auto;
-ms-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
在Edge的桌面版上运行良好,但在我的Windows Phone 10上则不然。有什么帮助吗?
解决方案:
转到http://mnater.github.io/Hyphenator/mergeAndPack.html并根据您的偏好生成Hyphenator.js
,然后使用类
.hyphenate {
hyphens: auto;
-webkit-hyphens: auto;
-ms-hyphens: auto;
-moz-hyphens: auto;
}
以设置内容。
有关如何使用的更多信息#ttps://github.com/mnater/Hyphenator以及一个实际的例子,它可以在Microsoft Edge Windows Phone 10中使用连字符#ttps://www.scania.com/global/en/home.html在页眉中使用。为连字符
对不起,我的英语,只能放一个链接(更改#为h(。
收件人。Miguel N.
对于西班牙来说,这是一个简单的例子,Hyphenator.js
是一个很好的例子。
Larga vida一部Windows手机!!!!这是一个充满活力的过程。
问候Saludos