article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}

html {
font: 14px/1 "Microsoft Yahei", "Hiragino Sans GB", "Helvetica Neue", Helvetica, tahoma, arial, Verdana, sans-serif, "WenQuanYi Micro Hei", "\5B8B\4F53";
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
}

/*
* 文本元素
*/

a {
text-decoration: none;
background-color: transparent;
}

a:active,
a:hover {
outline: 0;
}

abbr[title] {
border-bottom: 1px dotted;
}

b,
strong {
font-weight: 400;
}

i,
em,
cite {
font-style: normal;
}

u {
text-decoration: none;
}

/*
* 内容分组元素
*/
dl,
dd,
blockquote {
margin: 0;
}

hr {
border-top: 0;
border-left: 0;
border-right: 0;
margin: 0;
border-color: #000;
}

ul,
ol {
margin: 0;
padding: 0;
list-style: none;
}

p {
margin-top: 0;
margin-bottom: 0;
}

/*
* 划分内容
*/
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: 0;
font-weight: 400;
}

/*
* 制表
*/
table {
border-collapse: collapse;
border-spacing: 0;
}

td,
th {
padding: 0;
}

/*
* 表单
*/
input:focus {
outline: 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;
box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}

/*
* 其它
*/
[hidden],
template {
display: none;
}

posted on 2018-06-28 10:41  孤寂影  阅读(156)  评论(0编辑  收藏  举报