PC. RESET HTML TAGS
/*
*
*reset all tags
*
* _base.less
*
* author Delete
*
* create date 2014.10.10
*/
html {
font-family: "Microsoft YaHei","宋体";
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
font-size: 12px;
}
body {
margin: 0;
font-size: 12px;
line-height: 1.5;
color: #999;
background-color: white;
height: 100%;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
display: block;
}
audio, canvas, progress, video {
display: inline-block;
vertical-align: baseline;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden], template {
display: none;
}
svg:not(:root) {
overflow: hidden;
}
a {
background: transparent;
color: #555;
text-decoration: none;
-webkit-tap-highlight-color: transparent;
}
a:hover {
color: #555;
}
a:active,a:focus {
outline: 0;
}
b, strong {
font-weight: bold;
}
button, input, optgroup, select, textarea {
color: inherit;
font: inherit;
margin: 0;
padding:0;
outline: none;
line-height:normal;
}
button {
overflow: visible;
}
button, select {
text-transform: none;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
button[disabled], html input[disabled] {
cursor: default;
}
button::-moz-focus-inner, input::-moz-focus-inner {
border: 0;
padding: 0; }
input[type="checkbox"], input[type="radio"] {
box-sizing: border-box;
padding: 0; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
height: auto; }
input[type="search"] {
-webkit-appearance: textfield;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; }
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em; }
legend {
border: 0;
padding: 0; }
textarea {
overflow: auto;
resize: auto;
}
optgroup {
font-weight: bold; }
table {
border-collapse: collapse;
border-spacing: 0;
}
td, th {
padding: 0;
}
h1, h2, h3, h4, h5, h6, p, figure, form, blockquote {
margin: 0; }
ul, ol, li, dl, dd {
margin: 0;
padding: 0; }
ul, ol {
list-style: none; }
input::-moz-placeholder, textarea::-moz-placeholder {
color: #999; }
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
color: #999; }
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
color: #999; }
img {
border: 0; }