In sass 3.1 you can use: scale-color to change many different attributes by
a percentage.

On Fri, Jan 14, 2011 at 1:17 PM, abierbaum <[email protected]> wrote:

> Is it possible to change a transparency by percentage?
>
> The only method I can find is transparentize (http://sass-lang.com/
> docs/yardoc/Sass/Script/Functions.html#transparentize-instance_method)
> and from the documentation it looks like this subtracts the passed
> parameter from the current alpha value.
>
> Is there any other method that I am missing that would allow me to do
> relative percentage-based adjustments of alpha?
>
> -Allen
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to