li{
width: 100%;
height: 3px;
background-image: linear-gradient(to right, #009a61 0%, #009a61 50%, transparent 50%);
background-size: 30px 3px;
background-repeat: repeat-x;
}
效果:
li{
width: 100%;
height: 3px;
background-image: linear-gradient(to right, #009a61 0%, #009a61 50%, transparent 50%);
background-size: 30px 3px;
background-repeat: repeat-x;
}
效果:
转载于:https://www.cnblogs.com/lilelile/p/8603606.html