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
Смотрите видео Where do Browser Styles Come From? онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mozilla Developer 11 Декабрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 24,840 раз и оно понравилось 753 людям.