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
相关推荐
烟袅18 小时前
5 分钟把 Coze 智能体嵌入网页:原生 JS + Vite 极简方案18你磊哥18 小时前
Django WEB 简单项目创建与结构讲解KangJX18 小时前
iOS 语音房(拍卖房)开发实践神秘的猪头18 小时前
🧠 深入理解 JavaScript Promise 与 `Promise.all`:从原型链到异步编程实战白兰地空瓶18 小时前
从「似懂非懂」到「了如指掌」:Promise 与原型链全维度拆解麦麦在写代码18 小时前
前端学习5YF021119 小时前
Frida for MacBook/Android 安装配置狂炫冰美式19 小时前
3天,1人,从0到付费产品:AI时代个人开发者的生存指南一千柯橘19 小时前
从摄影新手到三维光影师:Three.js 核心要素的故事南囝coding19 小时前
2025年CSS新特性大盘点