移动端1px细线问题

1可以用伪类实现

.con{position: relative;
.con:before { content: " "; position: absolute; left: 0; top: 0; right: 0; height: 1px; border-top: 1px solid #d9d9d9; color: #d9d9d9; -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: scaleY(.5); transform: scaleY(.5); left: 15px; }

2.直接0.02rem  border:0.02rem solid #ccc;

原文地址:https://www.cnblogs.com/wangmaoling/p/7756232.html