*{
    margin: 0;
    padding: 0;
    border: none;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
body {
    /* 注意移动端字体 与回忆自定义字体 */
    font-family: Helvetica, sans-serif;
    font-size: 12px;
    color: #000;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    color: #666;
}

input,
textarea{
    outline: none;
    /* 去除iOS默认的一些非扁平化控件效果(风格不符合不如不要) */
    -webkit-appearance: none;
}
ul,
ol{
    list-style: none;
}
li>a{
    display: inline-block;
    width: 100%;
}
li>a>img{
    width: 100%;
}

/* 通过定义一个类选择器的伪元素实现去除浮动影响 */
.clearfix::before,
.clearfix::after{
    content: "";

    display: block;
    clear: both;
    visibility: hidden;
    /* 下面的可写可不写 */
    overflow: hidden;
    font-size: 0;
}

/*细边框
*/
.light-border,
.light-border-right,
.light-border-left,
.light-border-bottom{
    position: relative;
}
.light-border::after,
.light-border-right::after,
.light-border-left::after,
.light-border-bottom::after{
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 200%;
    height: 200%;
    /*border: 1px solid #000;*/

    /* 这里的取值: -1/border-width */
    -webkit-transform-origin: -1px -1px;
    transform-origin: -1px -1px;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
}
.light-border::after{ border: 1px solid #e0e0e0; }
.light-border-right::after{ border-right: 1px solid #e0e0e0; }
.light-border-left::after{ border-left: 1px solid #e0e0e0; }
.light-border-bottom::after{ border-bottom: 1px solid #e0e0e0; }

/* 属性选择器 */
