《双陈记》情侣博客

位置:主页 > 前端设计 > Eric Meyer的reset.css

Eric Meyer的reset.css

以前学习css,折腾css,都是跟着感觉走,没什么标准套路,没仔细研究过什么性能,优化之类的东东。小弟我很孤陋寡闻不识Eric Meyer大神,最近深入折腾css时候,才明白其实css玩精通,还有很长一段路要走的啊。今天copy了Eric Meyer大神的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;
}



无觅相关文章插件

已经有3位童鞋留言了,还不来盖楼!

  1. 谢谢分享,不过暂时还看不懂

  2. 萝卜小菜

    请问这个网站是用wordpress做的吗

love730.com
To:双陈记

 疑问 冷笑 悲伤 坏蛋 感叹 微笑 脸红 大笑 吃惊 惊讶 困惑 酷 大声笑 恼火 古怪

您还可以输入300个字插入图片