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
相关推荐
学习使我快乐012 小时前
JS进阶 3——深入面向对象、原型bobostudio19952 小时前
TypeScript 设计模式之【策略模式】黄尚圈圈3 小时前
Vue 中引入 ECharts 的详细步骤与示例浮华似水4 小时前
简洁之道 - React Hook Form正小安6 小时前
如何在微信小程序中实现分包加载和预下载_.Switch7 小时前
Python Web 应用中的 API 网关集成与优化一路向前的月光7 小时前
Vue2中的监听和计算属性的区别长路 ㅤ 7 小时前
vite学习教程06、vite.config.js配置长路 ㅤ 7 小时前
vue-live2d看板娘集成方案设计使用教程Fan_web8 小时前
jQuery——事件委托