解决1像素边框问题

.border{
    border-bottom: ;
    padding: 8px 0 8px 15px;
    color: #7c7c7c;
    cursor: pointer;
    position: relative;
}
.border:before{
    position: absolute;
    top: -1px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    border-top: 1px solid #ddd;
    -webkit-transform: scaleY(0.5);
}

  

posted @ 2017-08-17 13:55  潇影D  阅读(317)  评论(0编辑  收藏  举报