reset.css

/**

* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)

* http://cssreset.com

*/

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,

menu, nav, output, ruby, section, summary,

time, mark, audio, video, input{

margin:0;

padding:0;

border:0;

font-size:100%;

font-weight:normal;

vertical-align:baseline;

}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure,

footer, header, menu, nav, section{

display:block;

}

body{

line-height:1;

}

blockquote, q{

quotes:none;

}

blockquote:before, blockquote:after,

q:before, q:after{

content:none;

}

table{

border-collapse:collapse;

border-spacing:0;

}

/* custom */

a{

color:#7e8c8d;

text-decoration:none;

-webkit-backface-visibility:hidden;

}

li{

list-style:none;

}

::-webkit-scrollbar{

width:5px;

height:5px;

}

::-webkit-scrollbar-track-piece{

background-color:rgba(0,0,0,0.2);

-webkit-border-radius:6px;

}

::-webkit-scrollbar-thumb:vertical{

height:5px;

background-color:rgba(125,125,125,0.7);

-webkit-border-radius:6px;

}

::-webkit-scrollbar-thumb:horizontal{

width:5px;

background-color:rgba(125,125,125,0.7);

-webkit-border-radius:6px;

}

html, body{

width:100%;

}

body{

-webkit-text-size-adjust:none;

-webkit-tap-highlight-color:rgba(0,0,0,0);

}

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 1、垂直对齐 如果你用CSS,则你会有困惑:我该怎么垂直对齐容器中的元素?现在,利用CSS3的Transform,...
    kiddings阅读 8,394评论 0 11
  • CSS Reset是什么? 在HTML标签在浏览器里有默认的样式,例如 p 标签有上下边距,strong标签有字体...
    魔_术师阅读 5,689评论 0 2
  • 各种纯css图标 CSS3可以实现很多漂亮的图形,我收集了32种图形,在下面列出。直接用CSS3画出这些图形,要比...
    剑残阅读 13,281评论 0 8
  • 周末无聊,吃完午饭就拿起手机开始刷朋友圈,刷了几下看到一个朋友发了一张家乡鼓楼的照片,每次看到这样的照片我总是会停...
    罗可靠阅读 2,675评论 1 0
  • 文/畈畈之辈 还记得那个叫武亦姝的妹子吗? 2017年2月7日,在央视的《中国诗词大会》上,年仅16岁的复旦附中中...
    畈畈之辈阅读 4,292评论 2 7