CSS Reset, default styles for common elements

后端 未结 11 2553
情歌与酒
情歌与酒 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:13

    Normal behaviour for WebKit h1:

    h1 {
        display: block;
        font-size: 2em;
        margin: .67__qem 0 .67em 0;
        font-weight: bold
    }
    

    Normal behaviour for Gecko h1:

    h1 {
        display: block;
        font-size: 2em;
        font-weight: bold;
        margin: .67em 0;
    }
    

    The rest of the elements should be there if you search the files.

提交回复
热议问题