common.css配置
@font-face {
font-family: 'iconfont';
src: url('...') format('woff2'),
url('...') format('woff'),
url('...') format('truetype');
}
.iconfont {
font-family: 'iconfont';
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.w {
width: 1200px;
margin: 0 auto;
}
.fl {
float: left;
}
.fr {
float: right;
}
.clearfix:before,
.clearfix:after {
content:"";
display: table;
}
.clearfix:after {
clear: both;
}
.clearfix {
*zoom:1;
}
li {
list-style: none;
}
a {
text-decoration: none;
color: #333;
}
a:hover {
color: #2858f8;
}
button {
border: 0;
background-color: transparent;
outline: none;
}
i,
em {
font-style:normal;
}
input {
background: none;
outline: none;
border: none;
}
.no-select{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}