.example { width: 100%; height: 20px; background: linear-gradient(90deg, blue, blue 50px, grey 50px, grey); } https://codepen.io/huangbuyi/...
https://codepen.io/huangbuyi/...