开发中设计给的线1px的处理

.nav_1::after{
content: " ";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 0;
border-bottom: 1px solid #b4b4b4;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
}

 

以上前提必须给此元素加上样式position---->relative.

 

posted @ 2018-01-16 17:45  我有饼干吃  阅读(102)  评论(0)    收藏  举报