CSS Reset, default styles for common elements

后端 未结 11 2594
情歌与酒
情歌与酒 2020-12-04 17:44

After applying a CSS reset, I want to get back to \'normal\' behavior for html elements like: p, h1..h6, strong, ul and li.

Now when I say normal I mean e.g. the p e

11条回答
  •  佛祖请我去吃肉
    2020-12-04 18:20

    Rather than using a total CSS reset, think about using something like Normalize, which "preserves useful defaults".

    To find out what your browser thinks of as default, open a plain HTML file with lists and view the lists with a CSS debugger like Firebug, and look under the Computed tab.

提交回复
热议问题