H5初始化css

/* 基础样式定义 */
body,
html,
ul,
li,
p,
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 14px;
  font-weight: normal;
}
img {
  border: none;
  font-size: 0;
}
a {
  color: #71777d;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
ul,
li {
  list-style-type: none;
}
body {
  margin: 0;
  padding: 0;
  border: 0;
  position: relative;
  min-width: 960px;
  color: #666;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-family: "YouYuan", "Microsoft YaHei";
}
/*icon定义*/
/* iconfont */
@font-face {
  font-family: 'iconfont';
  src: url('/static/common/plugins/iconfont/iconfont.eot');
  src: url('/static/common/plugins/iconfont/iconfont.eot?#iefix') format('embedded-opentype'), url('/static/common/plugins/iconfont/iconfont.woff') format('woff'), url('/static/common/plugins/iconfont/iconfont.ttf') format('truetype'), url('/static/common/plugins/iconfont/iconfont.svg#iconfont') format('svg');

  /* IE9*/
  /* iOS 4.1- */
}
.iconfont {
  font-family: "iconfont";
  display: inline-block;
}
@media screen and (max-width: 375px) {
  .iconfont {
    font-size: 24px;
    font-style: normal;
  }
}
@media screen and (min-width: 375px) {
  .iconfont {
    font-size: 26px;
    font-style: normal;
  }
}
.clearfix {
  *zoom: 1;
  /*overflow:hidden*/
}
.clearfix:after {
  content: "\200B";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
h1,
h2,
h3,
h4,
h5 {
  text-align: center;
  font-weight: normal;
}
input {
  border: none;
  outline: none;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.text_c {
  text-align: center;
}
.text_l {
  text-align: left;
}
.wrap_960 {
  width: 960px;
  margin: 0 auto;
  text-align: center;
}
.wrap_960_ {
  width: 960px;
  margin: 0 auto;
}
.wrap_780 {
  width: 780px;
  margin: 0 auto;
  text-align: center;
}
.box_bor {
  box-sizing: border-box;
}
.none {
  display: none !important;
}
.input_num_n input[type=number] {
  -moz-appearance: textfield;
}
.input_num_n input[type=number]::-webkit-inner-spin-button,
.input_num_n input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值