Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.
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?
2012-04-06 08:11:00
I assume you mean CSS, not HTML5? Give us a URL, perhaps we can take a look.
2012-04-15 03:16:00
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?)
2012-04-15 10:22:00
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.