reset.css

github

/* http://meyerweb.com/eric/tools/css/reset/
   v5.0.2 | 20191019
   License: none (public domain)
*/

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, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
	display: block;
}
/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
    display: none;
}
body {
	line-height: 1;
}
menu, 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;
}

官网

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, tbody, tfoot, thead, tr, th, td,
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: inherit;
	vertical-align: baseline;
}
/* 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;
}

相关推荐

最近更新

  1. TCP协议是安全的吗?

    2024-04-03 08:10:02       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-04-03 08:10:02       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-04-03 08:10:02       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-04-03 08:10:02       20 阅读

热门阅读

  1. k8s的ClusterIP和NodePort类型有何不同

    2024-04-03 08:10:02       16 阅读
  2. golang每日一题(字母异位词分组)

    2024-04-03 08:10:02       13 阅读
  3. C++学习笔记(二)

    2024-04-03 08:10:02       14 阅读
  4. 【LeetCode】热题100:合并K个升序链表

    2024-04-03 08:10:02       14 阅读
  5. webscoket 中的 mask 细节

    2024-04-03 08:10:02       14 阅读
  6. 安装transforers时报错:error: can‘t find Rust compiler

    2024-04-03 08:10:02       14 阅读
  7. HTML如何设置字体样式?

    2024-04-03 08:10:02       11 阅读
  8. 进程和线程之间的区别和联系

    2024-04-03 08:10:02       15 阅读
  9. 串口屏接口之RS232/485的理解

    2024-04-03 08:10:02       13 阅读
  10. 国外服务器租用需要考虑哪些重要信息

    2024-04-03 08:10:02       16 阅读
  11. OCRmyPDF:全能PDF光学字符识别工具及其Python集成

    2024-04-03 08:10:02       9 阅读
  12. Docker in Docker原理与实战

    2024-04-03 08:10:02       9 阅读
  13. 第四章:Minikube生命周期管理命令

    2024-04-03 08:10:02       11 阅读
  14. springboot + mybatis支持多数据库

    2024-04-03 08:10:02       14 阅读