.myLine { width: 2rpx; height: 100%; background: linear-gradient(to bottom, #4097FF 0%, #4097FF 50%,transparent 50%); background-size: 2rpx 12rpx; background-repeat: repeat-y; }
效果如图所示
京公网安备 11010502049817号