On Mon, Jun 1, 2009 at 12:50 PM, [email protected] <
[email protected]> wrote:

>
> Hi!
>
> I'm trying to include the following mixing:
>
> = rounded_corners(!radius = 20px)
>  :-webkit-border-radius= !radius;
>  :-moz-border-radius= !radius;
>
> That gives me an Sass::SyntaxError stating that this isn't valid css.
> While technically true, it seems to me this hsould compile correctly.
>
> How do i fix this?
>
  !radius = 20px
 : rounded_corners(!radius)
 :-webkit-border-radius= !radius
 :-moz-border-radius= !radius


try this , declare !radius =20 px before using it. no need of ; after any
ststement

--~--~---------~--~----~------------~-------~--~----~
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