* {
  padding: 0;
  margin: 0;
  border: 0;
}

html, body {
  /* a标签及拥有 :active伪类的元素有默认的高亮框 */
  -webkit-tap-hightlight-color: transparent;
  /* 禁用iPhone中Safari的字号自动调整 */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /* 解决IOS默认滑动很卡的情况 */
  -webkit-overflow-scrolling: touch;
  height: 100%;
}

button, input {
  outline: none;
  background: none;
}

input, textarea {
  -webkit-appearance: none;
}

ul, ol, li {
  list-style: none;
}

img {
  border: 0;
  border: none;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a, a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

.clearfix::before {
  content: "";
  display: block;
  height: 0;
  line-height: 0;
  visibility: none;
  clear: both;
  overflow: hidden;
}

.clearfix {
  *zoom: 1;
}

.text-wrap {
  white-space: normal;
  word-break: break-all;
  word-wrap: break-word;
}

.text-nowrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}