What is the default border width in CSS?


Does anyone know the default border width of the CSS box-Model? Where can I go to find out this information? Does the browser User-Agent have anything to do with it?

For Example, what would the default width be if I only use the line of code below?

h1 {
border: solid;

Thank you!

You can always check using the dev tools. The computed styles for Chrome and Firefox says it’s 3px width.

In as far as all default styles are applied by the browser.

Thank you very much!

1 Like