我的reset.css

*{
    box-sizing: border-box;
}
*::before{
    box-sizing: border-box;
}
*::after{
    box-sizing: border-box;
}
body,dl,dt,dd,ul,li,h1,h2,h3,h4,input,form,a,p,textarea,button{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
    color: inherit;
}

ol,ul,li{
    list-style: none;
}

/* 解决margin合并问题 */
.noCollapse::before{
    content: '';
    display: table;
}
.noCollapse::after{
    content: '';
    display: table;
}

猜你喜欢

转载自blog.csdn.net/Ee2222/article/details/80898994