@charset "utf-8"; * { /* 解决手机微信公众号中的网页文字无法复制到剪切板问题 start*/ -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; /* 解决手机微信公众号中的网页文字无法复制到剪切板问题 end*/ word-wrap: break-word; box-sizing: border-box; } img { font-size: 0px; transform: translateZ(0); } a { text-decoration: none; -webkit-tap-highlight-color: transparent; } a:hover { text-decoration: none; } /* 隐藏滚动条 */ ul::-webkit-scrollbar, ol::-webkit-scrollbar { display: none; } ul, ol { /* firefox */ scrollbar-width: none; } /* 图片缩放不模糊 */ img { image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; -ms-interpolation-mode: nearest-neighbor; } /* 隐藏 input[type=number] 的上下箭头 */ input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; } input[type="number"] { -moz-appearance: textfield; } /* ====== 清除input框在chrome浏览器下粘贴的默认底色 start ====== */ input:-webkit-autofill { box-shadow: 0 0 0 1000px #ffffff inset !important; /* 浏览器记住密码的底色的颜色 */ -webkit-text-fill-color: #606266 !important; /* 浏览器记住密码的字的颜色 */ transition: background-color 3000s ease-in-out 0s; /* 通过延时渲染背景色变相去除背景颜色 */ caret-color: #acfff2; /* 光标颜色,可选*/ } /* ====== 清除input框在chrome浏览器下粘贴的默认底色 end ====== */ html { font: normal 16px "微软雅黑", Arial; width: 100%; } body { width: 100%; font: normal 16px "微软雅黑", Arial; zoom: 1; font-family: "微软雅黑", "Microsoft Yahei","Source Han Sans",PingFang SC, Arial; overflow-x: hidden; } ul, li, ol { list-style: none; } select, input, textarea { border-radius: 0; -webkit-border-radius: 0; color: #666; background: none; border: none; resize: none } input:focus { outline: none; } input, button, select, textarea { outline: none; /* -webkit-appearance:none; */ appearance: none; -moz-appearance: none; -webkit-appearance: none; /*强制去除表单自带的样式*/ font: normal 14px "微软雅黑", Arial; } textarea { resize: none; /*-webkit-appearance:none;*/ /*强制去除textarea自带的样式*/ } article, aside, footer, header, nav, section, figure, figcaption { display: block; } /*html5设置*/ figure, figcaption { margin: 0px; padding: 0px; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } img { border: none; border: 0px; max-width: 100%; vertical-align: middle; } a, a:hover, a:focus { outline: none; -moz-outline: none; text-decoration: none; } /* 设置placeholder默认文字颜色样式 start*/ input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #b8b8b8; } input::-moz-input-placeholder, textarea::-moz-input-placeholder { color: #b8b8b8; } input::-ms-input-placeholder, textarea::-ms-input-placeholder { color: #b8b8b8; } /* 设置placeholder默认文字颜色样式 end*/ /* */ ul, li, ol { list-style: none; margin-bottom: 0px; } p { margin-bottom: 0px; } h1, .h1, h2, .h2, h3, .h3 { margin: 0px; }