提问人:user3163495 提问时间:11/16/2023 最后编辑:user3163495 更新时间:11/16/2023 访问量:49
在 iOS Safari 中,我的字体上这些奇怪的矢量线是什么?查看屏幕截图和片段
What are these weird vector lines on my fonts in iOS Safari? See screenshot and snippet
问:
在iOS Safari的移动网站上做一些工作时,我放大并注意到一些文本上有这些奇怪的矢量线。这是在 iOS 16.6.1 上。这是我正在使用的CSS字体堆栈:
font-family: 'Segoe UI', 'Lucida Grande', -apple-system, BlinkMacSystemFont, 'Liberation Sans', sans-serif
我该如何摆脱它?不会出现在其他任何地方(在 FireFox 和 Chrome 上看起来很正常)。
<style>
button{
background-color:#1b75d0;
color:#ffffff;
font-size:18px;
border-width:0;
padding:5px;
margin:0;
paint-order: fill markers stroke;
font-family: 'Segoe UI', 'Lucida Grande', -apple-system, BlinkMacSystemFont, 'Liberation Sans', sans-serif;
}
</style>
<button>Click Me</button>
答:
0赞
user3163495
11/16/2023
#1
将 CSS 属性设置为 后,奇怪的行就消失了。paint-order
normal
评论