On Feb 3, 7:13 pm, Bharat <[email protected]> wrote: > 1. I ran css2sass on the four css files for Insoshi and converted > them to their sass counterparts. > 5. No manual adjustments were needed as I had to when converting ERB > files to haml. > > I guess the way to learn sass would be then to write one from scratch?
Migrating to sass from css made my code somewhat more readable, but since I got familiar with sass' "advanced" features, that same code has now become dramatically shorter and less complex. So since you have some sass files to play with, I'd consider trying to refactor them to using global variables, inline math and mixins. Besides probably learning a lot from the process, the combination of variables and math in the stylesheet can be pretty amazing in its own right. In the layout I'm currently working on, I can control the relative width of all the columns, just by changing 1 line in the sass. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
