CSS Chrome 获取“用户代理样式表”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7332787/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 01:33:00  来源:igfitidea点击:

Chrome get "user agent stylesheet"

cssgoogle-chrome

提问by radzi0_0

Google Chrome has a built-in stylesheet with default margins, paddings, etc.

谷歌浏览器有一个带有默认边距、填充等的内置样式表。

Is there a posibility to get this "user agent stylesheet"to see what are the defaultchrome css settings?


是否有可能获得此“用户代理样式表”以查看默认的chrome css 设置是什么?


I know that I need to override it or use reset style, but I just want to get this chrome built-in css

我知道我需要覆盖它或使用重置样式,但我只想获得这个 chrome 内置 css

回答by CommonSenseCode

I was also having a problem with this and had an with a which wasn't working, the problem was that I forgot last dash in input:

我也遇到了这个问题,并且有一个不起作用,问题是我忘记了输入中的最后一个破折号:

<input>// replace this for <input />// this

<input>// 将此替换为 <input />// 此