一条两头尖的线条
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
.box{
width:200;
height:2px;
background: -webkit-linear-gradient(left, #fff -4%,#2473fb 20%,#fff 50%);
}
</style>
</head>
<body>
<div class="box"></div>
</body>
</html>
<script>
var str="规范地方更过分发布官方是";
var search = "发布";
var result