/* reset.css */
/* 重置所有元素的 margin 和 padding */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    user-select: none;
}

/* HTML5 元素在旧版浏览器中的显示 */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* 重置列表样式 */
ol, ul {
    list-style: none;
}

/* 重置表格样式 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 重置链接样式 */
a {
    text-decoration: none;
    color: inherit;
}

/* 重置表单元素 */
button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* 重置按钮样式 */
button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

/* 重置图片样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}