CSS reset for HTML5

前端 未结 5 981
猫巷女王i
猫巷女王i 2020-12-31 05:02

Best practices?

How does this differ from HTML4 or XHTML1?

There\'s a lot of discussion going on over here: http://html5doctor.com/html-5-reset-stylesheet/

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-31 05:18

    There's a lot to it. You can't take one persons css rest as gospel. I recently made a custom reset sheet by revising parts of boilerplate, YUI, my preference and some other ppls methods. It's more down to preference & practicality. In terms of differentiating html5 css standards from xhtml & html4, don't bother compare you should aim to use html5 doc-types for all your new work unless your project specifically requires xhtml by request.

提交回复
热议问题