使用css实现等间距刻度线效果background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0),rgba(249, 249, 249, 0) 4px,#000 4px ,#000 82023-02-20html-css530