Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome get "user agent stylesheet"

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 default chrome css settings?


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

like image 429
radzi0_0 Avatar asked Sep 07 '11 11:09

radzi0_0


People also ask

How do I find the user agent stylesheet in Chrome?

If its simply viewing it, then go to Tools -> Developer Tools (Shift+Ctrl+I) then click on the Element tab and the Computed Style on the right hand side should show you the default values.

What is the user agent stylesheet?

User-agent stylesheets User-agent, or browsers, have basic style sheets that give default styles to any document. These style sheets are named user-agent stylesheets. Most browsers use actual stylesheets for this purpose, while others simulate them in code.


1 Answers

Take a look here:

http://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css

For some other browsers: Browsers' default CSS for HTML elements

like image 172
thirtydot Avatar answered Oct 13 '22 16:10

thirtydot