pc reset all tags .baseCSS

PC. RESET HTML TAGS

/*
*
*reset all tags
*
* _base.less
*
* author Delete
*
* create date 2014.10.10
*/


html {
  font-family: "Microsoft YaHei","宋体";
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 12px;
}


body {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #999;
  background-color: white;
  height: 100%;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch; 
}


article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}


audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline; 
}


audio:not([controls]) {
  display: none;
  height: 0; 
}


[hidden], template {
  display: none; 
}


svg:not(:root) {
  overflow: hidden; 
}


a {
  background: transparent;
  color: #555;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent; 
}


a:hover {
  color: #555; 
}


a:active,a:focus {
  outline: 0; 
}


b, strong {
  font-weight: bold; 
}


button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
  padding:0;
  outline: none;
  line-height:normal;
}


button {
  overflow: visible; 
}


button, select {
  text-transform: none;
}


button, html input[type="button"], input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer; 
}


button[disabled], html input[disabled] {
  cursor: default; 
}


button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0; }


input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  padding: 0; }


input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
  height: auto; }


input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }


input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }


fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }


legend {
  border: 0;
  padding: 0; }


textarea {
  overflow: auto;
  resize: auto; 
 }


optgroup {
  font-weight: bold; }


table {
  border-collapse: collapse;
  border-spacing: 0; 
}


td, th {
  padding: 0;
}


h1, h2, h3, h4, h5, h6, p, figure, form, blockquote {
  margin: 0; }


ul, ol, li, dl, dd {
  margin: 0;
  padding: 0; }


ul, ol {
  list-style: none; }


input::-moz-placeholder, textarea::-moz-placeholder {
  color: #999; }


input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: #999; }


input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #999; }


img {
  border: 0; }

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值