> What I'm saying is with "pure blueprint" adding the class span-8 or
> whatever it applies one css class to the element.
>
> In compass, when you create a new news-flash class that mixes in
> +span(8) it copies in the css with the calculated bits n bobs.
> When you mix it in again into a different semantic class, it copies
> the css in again... etc.
>
> Ultimately your CSS is going to be much bigger than "purer" approaches.
>   

Yeah, this is true. That's why I actually don't use compass, it does add 
quite a bit if you're not careful.

I do use sass macros though, minimally. For example, these I find to be 
useful macros:

=text_overflow_hidden
  :overflow hidden
  :white-space nowrap
  :text-overflow ellipsis

=reset_box_model
  :margin 0
  :padding 0
  :border 0

=quiet
  :color #666


I wouldn't define those within a css class and use it all over my markup.




Lawrence


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to