chrome:如何关闭用户代理样式表设置?

问题描述 投票:0回答:2

我正在尝试禁用 Chrome 中的 User Agent Stylesheet。我怎样才能关闭/禁用它?

enter image description here

css google-chrome
2个回答
34
投票

https://developers.google.com/chrome-developer-tools/docs/settings

  1. 打开 Chrome 开发工具
  2. 点击右下角的齿轮图标
  3. 在“常规”部分中,选中或取消选中“显示用户代理样式”。

0
投票

以防有人偶然发现这一点。如果您想禁止将规则应用于您的模板。只需重置 css https://www.joshwcomeau.com/css/custom-css-reset/#our-finished-product-10

上面的链接应该有助于更好地解释

© www.soinside.com 2019 - 2024. All rights reserved.