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
相关推荐
不好听6132 小时前
从一行 JSX 到屏幕像素:前端开发者必须懂的浏览器渲染管线恒拓高科WorkPlus2 小时前
企业级内网即时通讯建设模型:BeeWorks内网IM四层架构前端小李子3 小时前
前端环境变量裸奔?我用 EnvShield 给它穿了件防弹衣youtootech3 小时前
HarmonyOS《柚兔学伴》项目实战25-我的页面、Web 嵌入与项目总结小林ixn4 小时前
从零到一理解 React 父子组件通信:手写一个 Todo 应用带你彻底搞懂单向数据流醇氧5 小时前
CountDownLatch / CyclicBarrier / Semaphore 面试高频问答清单qetfw6 小时前
MXU:Tauri 2 + React 的 MaaFramework 跨平台 GUI 源码甲维斯6 小时前
我要开始吹牛逼了!Kimi K3 “宇宙无敌”!a1117766 小时前
微光小屋-前端养成小游戏 开源项目