作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用不同语言的动态用户内容构建一个站点。
例如:
<p lang="en">disestablishment</p>
<p lang="de">Käsekuchenbäckereibesitzer</p>
<p lang="fr">Consciencieuse</p>
<p lang="it">Imbarazzato</p>
<p lang="es">decepcionado</p>
我正在使用 CSS 来激活断字:
p[lang] {
width: 60px;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
它似乎在我的机器上工作得很好,但我试图找出这是否也适用于其他平台和机器。所以我在 BrowserStack 上试了一下,得到了非常不同的结果:
最佳答案
Could this be caused by languages installed on the operation systems?
This feature enables the Android's hyphenation engine on all platforms, except Mac keeps using the hyphenation engine in the platform.
关于html - 所有浏览器都支持 CSS 断字吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67684676/
安装并修复我的 VS2015 实例后,我仍然无法让智能感知(服务器端)在我的 MVC View 中工作。当我在 session 中第一次打开 .cshtml 文件并找到 Activitylog 文件时
我是一名优秀的程序员,十分优秀!