@charset "utf-8";

/* 
适用：连续性数字或英文过长
问题：默认值 normal，连续性数字和单词过长，如果内容外层的div设置宽度，导致溢出
break-word把长单词挪到下一行
两端不整齐，
*/
* {
  word-wrap: break-word;
}

/*

word-break:break-all; 
同上
break-all 完整单词被拆分开 换行
两端对齐，单词被拆开，
优先覆盖 word-wrap 属性，
*/

/* -------------------------// 浏览器同一样式 //------------------------- */

/*
IE10+   去除X  
https://www.tomytime.com/archives/425/ 
*/
/** 文本输入框的 X  **/
input::-ms-clear {
  display: none;
}
/** 密码输入框的 X  **/
input::-ms-reveal {
  display: none;
}

/* chrome Firefox 去除默认样式 */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none; /* 去除增减按钮 */
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield; /* 去除增减按钮 */
}

/* -------------------------// 手机端 Reset //------------------------- */

/* 解决IOS页面滑动卡顿 
https://blog.csdn.net/z591102/article/details/108404079
*/

/* iOS 浏览器中的链接或JavaScript的可点击的元素时，覆盖显示的高亮颜色。 */
html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 重置 ios 自身自带样式 */
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="text"],
input[type="password"] {
  -webkit-appearance: none;
  outline: none;
}
/* 上面重置后，重新赋予点击手势图标 */
input[type="submit"],
input[type="reset"],
input[type="button"] {
  cursor: pointer;
}

/* -------------------------// 公共 Reset //------------------------- */

html,
body,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
  margin: 0;
  padding: 0;
}
/* 可拖动文件添加拖动手势 */
[draggable] {
  cursor: move;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 12px;
  font-weight: normal;
}
b,
strong,
em,
i {
  font-style: normal;
  font-weight: normal;
}
img {
  vertical-align: top;
}
a {
  text-decoration: none;
  color: #333;
}
a:hover {
  color: #333;
}
ul,
ol,
dl,
li {
  list-style-type: none;
}
textarea {
  outline: none;
} /* 点击触发会 【:focus】变圆角 */

body {
  background-color: #fff;
}
body,
button,
input,
select,
textarea {
  font-family: PingFang SC, Lantinghei SC, Microsoft Yahei, Hiragino Sans GB,
    Microsoft Sans Serif, WenQuanYi Micro Hei, sans;
  font-size: 12px;
  color: #333;

  /*抗锯齿，字体清晰*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
