On 12 Jan 2009, at 01:20, [email protected] wrote:
>
> Don't know if this is possible, or maybe in the pipeline for a sass
> update
>
> Is there a way to achieve something like this in sass
>
> .red_arrow
> :background-image url('icon.gif')
> :background-position 0 0
> :padding 0 0 0 20px
> .right
> :padding 0 20px 0 0
>
This should work, notice the apersand (&):
.red_arrow
:background-image url('icon.gif')
:background-position 0 0
:padding 0 0 0 20px
&.right
:padding 0 20px 0 0
--
Cristi Balan
http://rubber.ducki.es
http://evil.che.lu
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---