有没有办法去除 Webkit 中 IFrame 的外发光?
我试过这个:
iframe {outline: none; -moz-outline: 0; border: 1px solid #000; z-index: 1;}
但是好像没有效果。
最佳答案
可能您必须为 webkit
浏览器定义 webkit-appearance:none;
。像这样:
iframe{
webkit-appearance:none;
}
关于css - 移除 Safari/Chrome iframe 发光,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9679694/