I know variable arithmetic works because the following produces CSS
(although useless)
!height = 50
#foo
:height= (!height+10)
creates this:
#foo {
height: 60; }
Unfortunately something like this blows up:
!height = 50
#foo
:height= (!height+10)px
Is there any way to accomplish the above?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---