Re: Is it possible to pass the value @def to the literal function in CssResource

2010-12-01 Thread Marcin Misiewicz
I found the solution. It is possible to mix literal and @def in the same ccs property so this working fine : background: literal(-webkit-gradient(linear, left top, left bottom, from() buttonGradientStartColor literal(), to() buttonGradientEndColor literal())); On Nov 30, 5:32 pm, Marcin

Is it possible to pass the value @def to the literal function in CssResource

2010-11-30 Thread Marcin Misiewicz
Hi In my theme I want to use css3 gradients. Since gradients are not the part of the standard yet I have to use wrap them in the literal function like in the example (for webkit browsers) below : background: literal(-webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EDEDED))); It