/* reset.css */
/* 重置所有元素的边距和内边距 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 重置 HTML5 元素的显示方式 */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

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

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

/* 重置表格边框合并 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 重置表单元素 */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

/* 重置图片和嵌入对象的边框 */
img, embed, object {
  max-width: 100%;
  height: auto;
  border: none;
}

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

/* 重置标题字体粗细 */
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

/* 重置文本样式 */
strong, b {
  font-weight: bold;
}

em, i {
  font-style: italic;
}