效果:
<div class="search-line"></div>
.search-line {
width: 1px;
height: 28px;
margin-right: 16px;
/* background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(51%, #c1c4c6), to(#fff)); */
/* background-image: -o-linear-gradient(top, #fff, #c1c4c6 51%, #fff); */
background-image: linear-gradient(180deg, #fff, #c1c4c6 51%, #fff);
opacity: .5;
}