码迷,mamicode.com
首页 > 其他好文 > 详细

reset

时间:2015-01-12 19:09:23      阅读:169      评论:0      收藏:0      [点我收藏+]

标签:

/*reset*/

div, p, a, span, body, dl, dt, dd, header, footer, img, section, time, h2, em, article, h3, h4, ul, li, label, ol, h5, i, var {
  word-wrap: break-word;
  word-break: break-all;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  outline: none;
  font-style: normal;
}

body, td, input, textarea, option, select, button {
  -webkit-text-size-adjust: none;
}

html, body {
  height: 100%;
}
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-focus-ring-color: rgba(0, 0, 0, 0);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:focus,
*:active {
  outline: none;
}
body {
  color: #121212;
  font-size: 12px;
  line-height: 1.2;
  overflow-x: hidden;
  font-family:  Arial,‘Microsoft YaHei Light‘, "微软雅黑", "宋体";
}

a {
  color: #121212;
  text-decoration: none;
}

ul, li, ol {
  list-style: none;
}

a, a:link, a:visited, a:hover {
  text-decoration: none;
}

a:hover {
}

a img,
img {
  border: none;
}

.fl{
  float: left;
}
.fr{
  float: right;
}
.clearfix {
  content: ‘‘;
  clear:both;
  overflow: hidden;
}

 

reset

标签:

原文地址:http://www.cnblogs.com/sussski/p/4218988.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!