Not sure where that default 8px of margin on the body comes from? Here's how to find out!
Every browser provides a User Agent (UA) Stylesheet to give HTML elements their natural shape, and make our sites more readable by default. When we start a project with a reset or normalization stylesheet, it's the UA styles that we are re-setting or normalizing. But how can we see these UA styles? Miriam Suzanne will show you how to find them online, inside Firefox itself, or even in developer tools as we debug our site styles.
Firefox: resource://gre-resources/html.css or https://hg.mozilla.org/mozilla-centra...
Chrome: https://chromium.googlesource.com/chr...
Webkit: https://trac.webkit.org/browser/trunk...
More: https://meiert.com/en/blog/user-agent...
#css #miriamsuzanne #firefoxdevtools
Watch video Where do Browser Styles Come From? online without registration, duration hours minute second in high quality. This video was added by user Mozilla Developer 11 December 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 24,840 once and liked it 753 people.