How to make it

  1. linear-gradient
  2. in the linear-gradient, if the second color % LESS THAN the first color%→become color block
  3. background-size
<div>
line1<br>
line2<br>
line3<br>
line4<br>
</div>

div {
  background: linear-gradient(rgba(238, 238, 238, 0.35) 95%, rgba(43, 139, 165, 0.15) 5%);
  //size決定重複的漸層色塊大小
  background-size: 100% 19px;
  border-radius: 3px 3px 3px 3px;
  font-size: 14px;
  border: 1px solid #90a955; 
}

Display
line1
line2
line3
line4

389 0 1