css代码初始化
a {
background-color: transparent;
text-decoration: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}
a:hover {
outline: none;
text-decoration: none;
}
a,
a:hover,
a:active,
a:visited,
a:link,
a:focus {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: transparent;
outline: none;
text-decoration: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-user-modify: read-only;
cursor: pointer;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset,
img {
border: 0;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var,
optgroup {
font-style: inherit;
font-weight: inherit;
}
del,
ins {
text-decoration: none;
}
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: '';
}
abbr,
acronym {
border: 0;
font-variant: normal;
}
sup {
vertical-align: baseline;
}
sub {
vertical-align: baseline;
}
legend {
color: #000;
}
input,
button,
textarea,
select,
optgroup,
option {
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
input,
button,
textarea,
select {
*font-size: 100%;
outline: none;
}
select {
border: 1px solid green;
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
padding-right: 14px;
}
select::-ms-expand {
display: none;
}
.margin_center {
margin: 0px auto;
}
.float_left {
float: left;
}
.float_right {
float: right;
}
.text_center {
text-align: center;
}
.text_left {
text-align: left;
}
.text_right {
text-align: right;
}
.position_relative {
position: relative;
}
.position_absolute {
position: absolute;
}
.no_border {
border: 0px!important;
border-right: 0px!important;
}
.width_whole {
width: 100%;
}
.clear_both {
clear: both;
}
.no_margin {
margin: 0px!important;
}
.display_block {
display: block;
}
.display_none {
display: none;
}
.visibility_hidden {
visibility: hidden;
}
.clearfix:after {
content: "";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
* html .clearfix {
zoom: 1;
}
*+html .clearfix {
zoom: 1;
}
body {
font-family: 'PingFangSC', 'helvetica neue', 'hiragino sans gb', 'arial', 'microsoft yahei ui', 'microsoft yahei', 'simsun', 'sans-serif'!important;
font-size: 10px;
}