解决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); }