Or you can use the one that comes with compass v0.10:

http://github.com/chriseppstein/compass/blob/master/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass

Chris

On Mon, Feb 22, 2010 at 3:40 AM, Brajeshwar <[email protected]> wrote:

> =shadow(!h=1px, !v=1px, !b=5px, !c=#999 )
>    -webkit-box-shadow = !h !v !b !c
>    -moz-box-shadow = !h !v !b !c
>    box-shadow = !h !v !b !c
>
> +shadow
>
> Regards,
> Brajeshwar
> _____________________
>
>
>
> On Mon, Feb 22, 2010 at 4:30 PM, BigFisch <[email protected]> wrote:
> > Apparently if I throw #333 in color under shadow it'll output under
> > the flower-snippet. Why isn't sass recognize -webkit and -moz?
> >
> > On Feb 22, 2:58 am, BigFisch <[email protected]> wrote:
> >> Given the following
> >>
> >> =shadow(!color = #999)
> >>   :-moz-box-shadow !color 0px 1px 5px
> >>   :-webkit-box-shadow !color 0px 1px 5px
> >>
> >> div.flower-snippet
> >>   +shadow
> >>
> >> When checking this in firefox I don't see any:
> >>   :-moz-box-shadow #999 0px 1px 5px
> >>
> >> If I copy/paste and manaully set it on flower-snippet it works. Gah,
> >> any ideas?
> >
> > --
> > 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] <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