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
相关推荐
cindershade42 分钟前
用原生 HTML5 视频与 Canvas 实现浏览器端视频抽帧封面笨鸟先飞,勤能补拙44 分钟前
Web 服务器与计算机网络全景原理NutShell Wang1 小时前
Wails v3 Beta 实战:用显式对象模型重写你的第一个 Go 桌面应用cindershade1 小时前
前端国际化工程实践:语言包拆分、动态加载与日期数字格式统一kisbad1 小时前
Day 036|OpenAI Agents SDK 快速开始:今天跑通第一个 Agentqq_267612891 小时前
Gitee CodePecker行业场景化落地指南:金融、车联网与IoT双引擎选型与工程化路径初晨未凉1 小时前
elementui自定义内容图片预览无糖可可果2 小时前
从零读懂一个 Next.js 全栈笔记应用Maxkim2 小时前
DeepSeek Harness 源码深度分析:像 VS Code 一样插件化的 Agent 框架喜欢睡觉2 小时前
从零看懂一个 Next.js 笔记应用