html,
body {
height: 100%;
margin: 0;
padding: 0;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizelegibility;
font-family: helvetica neue, helvetica, pingfang sc, hiragino sans gb,
microsoft yahei, arial, sans-serif;
}
#app {
background: #f5f5f5;
height: 100%;
font-family: pingfang sc-bold, pingfang sc, sans-serif;
}
*,
*:before,
*:after {
box-sizing: inherit;
margin: 0;
padding: 0;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
div:focus {
outline: none;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: ' ';
clear: both;
height: 0;
}
}
button {
border: none;
outline: none;
background: none;
font-size: inherit;
color: inherit;
padding: 0;
margin: 0;
}
input {
width: 100%;
border: 0; /*清除自带的2px的边框*/
padding: 0; /*清除自带的padding间距*/
outline: none; /*清除input点击之后的黑色边框*/
}
select {
/* 移除默认的背景色和边框 */
background-color: transparent;
border: none;
/* 移除默认外边距和内边距 */
margin: 0;
padding: 0;
/* 移除默认的文本选择样式 */
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
select:focus {
outline: none;
}
.home {
position: relative;
}
select option {
border: none;
}