Forums
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Gradient with transparent
Author |
Message |
alecol
Joined: Thu Sep 09, 2010 8:47 am Posts: 1
|
 Gradient with transparent
Hi, I've a little problem. I would put a linear-gradient from a color to trasparent.
-pie-background:linear-gradient(#000000, transparent); doesn't work. Can you help me, please?
Thanks
|
Thu Sep 09, 2010 8:49 am |
|
 |
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1452
|
 Re: Gradient with transparent
The documentation states this in the context of rgba colors, but the same applies to the 'transparent' keyword: PIE does not yet support non-opaque color stops in gradients. Some level of support is planned for a future release.
BTW, I didn't know this before but I'll mention it here because I find it interesting: apparently other browsers treat 'transparent' as the same as rgba(0,0,0,0) -- so it's actually transparent black. This seems like an academic distinction, but it actually makes a difference in gradients: a gradient from, say, solid red to transparent black is not the same as a gradient from solid red to transparent red. The intermediate colors are very different between the two.
|
Thu Sep 09, 2010 11:10 am |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: Bing [Bot] and 6 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|