title: Why are CSS lines not sharp if not at multiples of 45 degrees?
body: <p>When using repeating-linear-gradient, I notice that unless the gradient is rotated at an angle which is a multiple of 45 degrees, the lines are not sharp and instead are very blocky.</p>
  
  <p><a href="http://codepen.io/jameskmonger/pen/vNgQzx" rel="nofollow">Here is a Codepen that illustrates this issue.</a> As you can see, the top three are very sharp (they are all rotated at multiples of 45 degrees) whereas the bottom three (not rotated at multiples of 45 degrees) are blocky and pixelated.</p>
  
  <p>For example, in the code below, <code>div.fourfive</code> gives a very sharp line, whereas <code>div.onezerozero</code> gives a blocky and pixelated one.</p>
  
  <pre><code>div.fourfive {
    background: repeating-linear-gradient(45deg, 
          black, black .5em, #CE360A 0, #CE360A 1.2em);
  }
  
  div.onezerozero {
      background: repeating-linear-gradient(100deg, 
          black, black .5em, #CE360A 0, #CE360A 1.2em);
  }
  </code></pre>
  
  <p>What is the reason for this?</p>