body, div, address, blockquote, iframe, ul, ol, dl, dt, dd,
h1, h2, h3, h4, h5, h6, p, pre, table, caption, th, td,
form, legend, fieldset, input, button, select, textarea {
margin: 0;
padding: 0;
font-weight: normal;
font-style: normal;
font-size: 100%;
font-family: inherit;
}
ol, ul {
list-style: none;
}
fieldset, img {
border: 0;
}
:focus {
outline: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption, th {
text-align: left;
}
为了浏览器兼容、统一、规范性的CSS群定义
最新推荐文章于 2026-07-01 01:47:30 发布
本文详细介绍了CSS样式重置的基本概念及其在网页布局中的应用。通过解析常见的CSS样式重置代码,帮助读者理解如何消除浏览器默认样式带来的差异,实现一致的页面显示效果。
1000

被折叠的 条评论
为什么被折叠?



