@charset "UTF-8";
html {
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
text-size-adjust: none;
/*解决chrome浏览器下字体不能小于12px*/ }
body {
overflow-x: auto;
font-size: 14px;
color: #333;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
a {
outline: none;
text-decoration: none;
color: inherit; }
a:hover {
text-decoration: none; }
html {
zoom: 1; }
html * {
outline: 0;
zoom: 1; }
html button::-moz-focus-inner {
border-color: transparent !important; }
/*设置margin和padding为0*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
margin: 0;
padding: 0; }
table {
border-collapse: collapse;
border-spacing: 0; }
fieldset, a img {
border: 0; }
address, caption, cite, code, dfn, em, th, var,i {
font-style: normal;
font-weight: normal; }
li {
list-style: none; }
caption, th {
text-align: left; }
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
font-weight: normal; }
q:before, q:after {
content: ''; }
em, i {
font-style: normal; }
input[type="submit"], input[type="reset"], input[type="button"], input[type=date], button, select, input[type=text] {
/*去掉苹果的默认UI来渲染按钮 、解决部分手机浏览器对border:none无效办法*/
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
/*去掉微信端input-text在ios轻快下的点击出先黑色半透明背景*/
tap-highlight-color: transparent !important; }
a, input[type=text], select, input[type=password], textarea {
/*去掉微信端input-text在ios轻快下的点击出先黑色半透明背景*/
tap-highlight-color: transparent !important; }
input::-webkit-input-placeholder {
color: #aaa; }