google-chrome - 如何在 chrome 中关闭用户代理样式表

标签 google-chrome user-agent

我被发现这个话题 chrome : how to turn off user agent stylesheet settings?但这对我无济于事。

在 Firefox 中,它显示:
firefox preview

在 Chrome 中,它显示:
chrome preview

Chrome 自动添加 UA 样式表:

enter image description here

所以我的图标无法显示。

怎么关掉。?

最佳答案

试试那个选项

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
input:-webkit-autofill, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0) inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}
@-webkit-keyframes autofill {
        to {
            background: transparent;
        }
    }

    input:-webkit-autofill,
    input:-webkit-autofill:hover, 
    input:-webkit-autofill:focus, 
    textarea:-webkit-autofill,
    textarea:-webkit-autofill:hover,
    textarea:-webkit-autofill:focus,
    select:-webkit-autofill,
    select:-webkit-autofill:hover,
    select:-webkit-autofill:focus {
        -webkit-animation-name: autofill;
        -webkit-animation-fill-mode: both;
    }

关于google-chrome - 如何在 chrome 中关闭用户代理样式表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20799217/

相关文章:

xml - 在 Chrome 中计算 XML 文档中的节点数

javascript - Chrome存储同步以持久顺序获取项目

html - 永久更改 HTML 元素

javascript - Chrome 错误?更改左侧 CSS 会更改 offsetWidth

javascript - 请求在浏览器缓存中匹配的各个方面是什么?

javascript - 为什么使用window.navigator.userAgent检索浏览器Explorer 11被识别为Mozilla?如何检索用户代理和版本?

oauth - 为什么 OAuth 中的隐式授权授予需要 "Web-hosted Client Resource"?

css - Windows 8.1 中的 chrome 是否停止支持某些字体?

java - 从用户代理字符串中检测移动设备

c - HTTP层如何识别设备类型