html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
font-size: 50px;
}
input[type="submit"],
input[type="reset"],
input[type="button"],
input {
-webkit-appearance: none;
resize: none;
}
button {
outline: none;
border: none;
}
img {
border: none;
}
/* 初始化开始*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #ebf1f7;
color: $pgh-color;
font-family: "Microsoft YaHei";
}
em,
i,
b {
font-weight: normal;
font-style: normal;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
li {
list-style: none;
}
ul,
li {
padding: 0;
margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}
.clearfix:after {
content: "";
display: block;
visibility: hidden;
height: 0;
clear: both;
}
.clearfix {
zoom: 1;
}
.fl {
float: left;
}
.fr {
float: right;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
color: $font-color;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
color: $font-color;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
color: $font-color;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
color: $font-color;
}
//去掉黄色背景
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px white inset;
}
/* 初始化结束 */
/* 针对缺省样式 (必须的) */
::-webkit-scrollbar {
width: 6px;
height: 10px;
}
/* 滚动条的滑轨背景颜色 */
::-webkit-scrollbar-track {
background-color: #fff;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
/* 滑块颜色 */
::-webkit-scrollbar-thumb {
background: #cfd9df;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
/*内层轨道的颜色*/
::-webkit-scrollbar-track-piece {
background-color: #fff;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
/* 滑轨两头的监听按钮颜色 */
::-webkit-scrollbar-button {
background-color: #eee;
width: 0;
height: 0;
}
/* 横向滚动条和纵向滚动条相交处尖角的颜色 */
::-webkit-scrollbar-corner {
background-color: #eee;
}