使用css实现等间距刻度线效果
2017-11-10 本文已影响0人
lyn911
![](https://img.haomeiwen.com/i8799699/12b27fa69923a99d.png)
background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0),rgba(249, 249, 249, 0) 4px,#000 4px ,#000 8px);
width: 200px;
height: 20px;
background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0),rgba(249, 249, 249, 0) 4px,#000 4px ,#000 8px);
width: 200px;
height: 20px;