Safari移动版中的渲染边框错误 [英] Rendering borders bug in Safari mobile

查看:75
本文介绍了Safari移动版中的渲染边框错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Safari Mobile中根本没有边框的元素上有奇怪的渲染边框吗?关于什么会导致问题的任何想法?我找不到解决方案. 预先感谢您的帮助.

I am having strange rendered borders on elements that have no borders at all in Safari Mobile? Any idea on what can cause the problem? I was not able to find a solution. Thanks in advance for your help.

推荐答案

我遇到了同样的问题.无法找出原因,但通过在元素上添加透明边框来解决此问题:

I had the same issue. Couldn't find out the cause, but solved it with a hack, by adding a transparent border to the element:

border: 1px solid transparent;

这篇关于Safari移动版中的渲染边框错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆