2.reset.css文件
2020-04-08 16:01:21来源:博客园 阅读 ()
2.reset.css文件
重置CSS样式:
1 /* http://meyerweb.com/eric/tools/css/reset/ 2 v2.0 | 20110126 3 License: none (public domain) 4 */ 5 6 html, 7 body, 8 div, 9 span, 10 applet, 11 object, 12 iframe, 13 h1, 14 h2, 15 h3, 16 h4, 17 h5, 18 h6, 19 p, 20 blockquote, 21 pre, 22 a, 23 abbr, 24 acronym, 25 address, 26 big, 27 cite, 28 code, 29 del, 30 dfn, 31 em, 32 img, 33 ins, 34 kbd, 35 q, 36 s, 37 samp, 38 small, 39 strike, 40 strong, 41 sub, 42 sup, 43 tt, 44 var, 45 b, 46 u, 47 i, 48 center, 49 dl, 50 dt, 51 dd, 52 ol, 53 ul, 54 li, 55 fieldset, 56 form, 57 label, 58 legend, 59 table, 60 caption, 61 tbody, 62 tfoot, 63 thead, 64 tr, 65 th, 66 td, 67 article, 68 aside, 69 canvas, 70 details, 71 embed, 72 figure, 73 figcaption, 74 footer, 75 header, 76 hgroup, 77 menu, 78 nav, 79 output, 80 ruby, 81 section, 82 summary, 83 time, 84 mark, 85 audio, 86 video { 87 margin: 0; 88 padding: 0; 89 border: 0; 90 font-size: 100%; 91 font: inherit; 92 vertical-align: baseline; 93 } 94 95 /* HTML5 display-role reset for older browsers */ 96 article, 97 aside, 98 details, 99 figcaption, 100 figure, 101 footer, 102 header, 103 hgroup, 104 menu, 105 nav, 106 section { 107 display: block; 108 } 109 110 body { 111 line-height: 1; 112 } 113 114 ol, 115 ul { 116 list-style: none; 117 } 118 119 blockquote, 120 q { 121 quotes: none; 122 } 123 124 blockquote:before, 125 blockquote:after, 126 q:before, 127 q:after { 128 content: ''; 129 content: none; 130 } 131 132 table { 133 border-collapse: collapse; 134 border-spacing: 0; 135 } 136 137 a { 138 text-decoration: none; 139 color: inherit; 140 }reset.css
/* 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; }
a { text-decoration: none; color: inherit; }
原文链接:https://www.cnblogs.com/lanshanxiao/p/12663192.html
如有疑问请与原作者联系
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- 解决 vs code 打开文件总是只有一个tab标签页,新打开的tab 2020-04-23
- 如何配置Tomcat上web.xml让浏览器能直接下载txt,xml类型文 2020-04-14
- 封装好通用的reset.css base.css 样式重置css文件 2020-02-25
- Html介绍,认识html文件基本结构 2020-02-12
- PHP文件上传 2020-02-06
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash