background-image:linear-gradient(to right,#fff 5px, #f00 5px, #f00 20px, #000 20px, #fff 100px);

width: 100px;
width: 500px;
width: 1000px;
width: 1250px;
width: 2500px;
width: 5000px;
width:10000px;
width:20000px;
width:50000px;