1像素边框

.border-1px{
    position: relative;
}
.border-1px:after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    border-top: 1px solid #ccc;
    width: 100%;
    content: '';
 }

 

posted @ 2017-06-05 17:11  JohnYunhan  Views(103)  Comments(0Edit  收藏  举报