CSS 实现div上下边框两条线


.start-time{
  box-shadow: 0 -1px 0px 0px #000,0 1px 0px 0px #000;
  border-top:1px solid #3f3f3f;
  border-bottom:1px solid #3f3f3f;
}


<div class='start-time'>2016-09-01</div>

微信截图_20181122145543.png

发表新评论