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
相关推荐
BUG创建者3 小时前
html获取16个随机颜色并不重复BillKu5 小时前
Vue3 + Element-Plus 抽屉关闭按钮居中面向星辰5 小时前
html中css的四种定位方式Async Cipher6 小时前
CSS 权重(优先级规则)大怪v6 小时前
前端佬:机器学习?我也会啊!😎😎😎手“摸”手教你做个”自动驾驶“~Liquad Li6 小时前
Angular 面试题及详细答案用户21411832636027 小时前
首发!即梦 4.0 接口开发全攻略:AI 辅助零代码实现,开源 + Docker 部署,小白也能上手gnip9 小时前
链式调用和延迟执行SoaringHeart9 小时前
Flutter组件封装:页面点击事件拦截杨天天.9 小时前
小程序原生实现音频播放器,下一首上一首切换,拖动进度条等功能