Safari Text-shadow重复文本
我有一个奇怪的问题,在使用Safari中的文字阴影时,我的字体在彼此下方显示了2次。 (用于H2标签)
我尝试了其他一些帖子的解决方案,例如将颜色交换为第一个参数,然后是尺寸,但这无济于事。
这是我的CSS:
h2 {
font-family: "sauna-bold", sans-serif;
text-shadow: 2px 2px 2px #555;
}
I have a weird problem, where my font gets displayed 2 times below eachother when using text-shadow in safari. (Used for h2 tags)
I tried the solutions of some other posts, like swapping the color as first argument and then the dimensions, but that didnt help.
This is my CSS:
h2 {
font-family: "sauna-bold", sans-serif;
text-shadow: 2px 2px 2px #555;
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试CSS前缀。这是使您的样式与浏览器兼容的。还有更多详细信息,以及 prefix
you can try css prefix. which is responsible to make your style compatible with the browser. here's more detail for it as well prefix