
/* 
* 样式重置 
*/

/*HTML5 中新添加的标签，重置这些标签的 display 样式*/
  header,
  footer,
  section,
  article,
  aside,
  nav,
  hgroup,
  address,
  figure,
  figcaption,
  menu,
  details
  {
      display: block;
  }
  audio,
  canvas,
  video
  {
      display: inline-block;
  }

/*重置padding、margin 和 border*/

/*标签在浏览器之间的差异主要是由这三个样式有关的默认样式产生的*/
  body,
  div,
  dl,
  dt,
  dd,
  ul,
  ol,
  li,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  pre,
  code,
  form,
  fieldset,
  legend,
  input,
  button,
  textarea,
  select,
  p,
  blockquote,
  th,
  td
  {
      margin: 0;
      padding: 0;
  }

/*修改输入框的字体*/
  input,
  textarea,
  select
  {
      font-family: inherit;
      font-size: inherit;
      font-weight: inherit;
  }

/*to enable resizing for IE*/
  input,
  textarea,
  select
  {
      *font-size: 100%;
  }

/*字体设置*/
  address,
  caption,
  cite,
  code,
  dfn,
  em,
  strong,
  th,
  var
  {
      font-weight: normal;
      font-style: normal;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6
  {
      font-size: 100%;
      font-weight: normal;
  }
  abbr,
  acronym
  {
      font-variant: normal;

      border: 0;
  }

/*设置字体、字号、行高、字体颜色*/
  body
  {
      font-family: 'Microsoft YaHei';
      font-size: 12px;
      line-height: 1.666667;

      color: #333;
  }

/*列表元素实际项目中很少会使用默认的列表样式*/
  li
  {
      list-style: none;
  }

/*链接下划线、颜色*/
  a:link,
  a:visited
  {
      text-decoration: none;
  }

/*重置按钮样式*/
  button,
  input[type='submit']
  {
      font-family: inherit;
      font-size: inherit;
      font-weight: inherit;
      line-height: inherit;

      color: inherit;
      border: none;
      background-color: transparent;
  }

/*重置表单*/
  fieldset
  {
      border: none;
  }
  input, textarea
  {
    border: none;
    outline: none;
  }

/*网页最小宽度*/
  html
  {
      min-width: 960px;
  }

/* 重置 hr */
  hr {
    border: none;
    margin: 0;
  }
