ae30d64cfb
Automatic unit conversions are performed if necessary and possible. Other small changes: * Limit the number of emitted decimals to three. * Added a function for converting a unitless number to a percentage. This means that you can do the following now: a :font-size= percentage(14.0px / 12px) :line-height= 1em * 20.0px / 12px :padding= 1in + 36pt :margin= 1in + ((72pt * 2in) + (36pt * 1in)) / 2.54cm and get this: a { font-size: 1.167%; line-height: 1.667em; padding: 1.5in; margin: 3.5in; } |
||
---|---|---|
.. | ||
haml | ||
sass | ||
haml.rb | ||
sass.rb |