Safari 浏览器 white-space: pre 无效
CSS iOS 大约 136 字问题
代码块在Safari
浏览器被强制换行了,代码如下
code {
white-space: pre
}
解决方案
增加word-wrap: normal
code {
white-space: pre;
word-wrap: normal
}
阅读 4171 · 发布于 2019-04-11
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓

昵称:
随便看看
换一批
-
软考-系统架构设计师:NoSQL阅读 1841
-
Golang 中的注释阅读 1478
-
Spring Boot OpenFeign IllegalStateException: RequestParam.value() was empty on parameter 0阅读 254
-
Arthas 使用 tt 命令抓取调用异常、调用耗时、传入参数、返回参数阅读 2885
-
Spring 中的设计模式阅读 772
-
Linux jobs fg bg disown阅读 2184
-
MySQL Explain 中的 key_len阅读 1362
-
软考-系统架构设计师:需求分析阅读 1119
-
AndroidStudio 导入 aar 包阅读 2872
-
PhpStorm 设置大括号不换行阅读 6347