Does the <html> element have a default margin or padding in any browser, since normalize.css doesn't reset it?

前端 未结 3 1629
天命终不由人
天命终不由人 2020-12-03 19:42

I\'m using normalize.css, and I saw that it doesn\'t reset margins or padding for the element. Since I assume they\'ve done their research I was wo

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-03 20:22

    With reference to http://www.w3.org/TR/CSS2/sample.html, no elements have default padding, but body, h1..h6, p, fieldset, form, ul, ol, dl, dir, menu, blockquote and dd have a margin by default

提交回复
热议问题