﻿/** 清除内外边距 **/
*
{
    box-sizing: border-box;
}
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* structural elements 结构元素 */dl, dt, dd, ul, ol, li, /* list elements 列表元素 */pre, /* text formatting elements 文本格式元素 */form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */th, td, /* table elements 表格元素 */img, /* img elements 图片元素 */figure
{
    border: medium none;
    margin: 0;
    padding: 0;
}/** 设置默认字体 **/
body, button, input, select, textarea
{
    font-family: 'Microsoft YaHei',Helvetica,sans-serif;
    outline: 0;/*font-size:62.5%;*//*默认字体大小为10px*/
}
textarea
{
    resize: none;
}
h1, h2, h3, h4, h5, h6
{
    font-size: 100%;
    font-weight: normal;
}
em
{
    font-style: normal;
}/** 重置列表元素 **/
ul, ol
{
    list-style: none;
}/** 重置超链接元素 **/
a
{
    display: inline-block;
    text-decoration: none;
    color: inherit;
}
a:hover
{
    text-decoration: none;
    color: inherit;
}/** 重置图片元素 **/
img
{
    border: 0;
    max-width: 100%;
    display: block;
    image-rendering: optimizeSpeed;/* Legal fallback */
    image-rendering: -moz-crisp-edges;/* Firefox  */
    image-rendering: -o-crisp-edges;/* Opera   */
    image-rendering: -webkit-optimize-contrast;/* Safari Webkit (non-standard naming)   */
    image-rendering: optimize-contrast;/* CSS3 Proposed */
    image-rendering: crisp-edges;/* CSS4 Proposed *//* image-rendering: pixelated; *//* CSS4 Proposed */
    -ms-interpolation-mode: nearest-neighbor;/* IE8+ IE (non-standard property) */
}/** 重置表格元素 **/
table
{
    border-collapse: collapse;
    border-spacing: 0;
}/** 清除表单外框 **/
input, textarea
{
    outline: none;
}
button
{
    background: none;
}/** 给可点击元素添加手型光标 **/
a[href], input[type='submit'], input[type='image'], label[for], select, button, .pointer
{
    cursor: pointer;
}