html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font-family: "微软雅黑", "Microsoft YaHei", serif;
vertical-align: baseline;
box-sizing: border-box;
}
body {
line-height: 1;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
input, select, textarea, button {
vertical-align: middle;
}
input:focus, button {
outline: none;
}
em {
font-style: italic;
}
b, strong {
font-weight: bold;
}
a {
text-decoration: none;
}
a:hover, a:focus{
text-decoration:none;
}
css默认样式清除
Stacey-TL2023-11-23 7:02
相关推荐
编程社区管理员6 小时前
React 发送短信验证码和验证码校验功能组件全马必破三6 小时前
React“组件即函数”三思而后行,慎承诺6 小时前
React 底层原理座山雕~6 小时前
html 和css基础常用的标签和样式灰小猿7 小时前
Spring前后端分离项目时间格式转换问题全局配置解决im_AMBER7 小时前
React 1602苏_7 小时前
ES6模板字符串excel7 小时前
⚙️ 一次性警告机制的实现:warnOnce 源码深度解析excel7 小时前
Vue SFC 样式编译核心机制详解:compileStyle 与 PostCSS 管线设计excel7 小时前
🧩 使用 Babel + MagicString 实现动态重写 export default 的通用方案