How can I smooth out HTML5 gradients?

Doit Dammet April 4, 2012
Pinterest Stumbleupon Whatsapp

The gradients I put on my HTML5 pages are very rough and streaked. The color changes rather abruptly. How can I smooth out the color gradient?

  1. James Bruce
    April 6, 2012 at 8:11 am

    I assume you mean CSS, not HTML5? Give us a URL, perhaps we can take a look. 

    • Doitdammit
      April 15, 2012 at 3:16 am

       I see the same thing with CSS gradients, but I was initially working with the 2D context in an HTML5 canvas. (I'm a noob. Would that also be CSS?)

      • James Bruce
        April 15, 2012 at 10:22 am

        if you see the same with css, perhaps your computer color setting is screwed. HTML5 canvas is not the same thing, but if you just want to change a gradient background then use CSS - canvas is for scripting/programming changes on the fly, I believe.