All browsers add an 8px margin on the body element – it’s part of the w3c-recommended default stylesheet which browsers generally use as a starting point for their own ‘user agent’ styles. But why 8px? Where does that come from?
I really enjoyed reading Mia’s article. The article starts by explaining the difference between initial values in CSS and browser default styles. I had an ah-ha moment that’s going to finally help me remember the difference between the
revert values for good!