CSS3 transparent gradient similar with Photoshop ColorPicker

Posted by Mircea on Stack Overflow See other posts from Stack Overflow or by Mircea
Published on 2010-04-29T17:47:44Z Indexed on 2010/04/29 18:17 UTC
Read the original article Hit count: 401

Filed under:
|

I try to create a transparent gradient with CSS. I need it for a color picker app. I have a transparent PNG I could use but its is 20kb large and would request a new HTTP request. The code should be ultralight.

Here is what I've done so far: http://jsfiddle.net/78SEK/ The one above its the good one and the bottom one is made with CSS.

I had also tryd something with HTML5 Canvas but I could not get the exact match. Is there a way I could do this? Thanx

© Stack Overflow or respective owner

Related posts about css3

Related posts about gradient