Welcome to the Treehouse Community
Looking to learn something new?
Trevor Jones6,691 Points
Using Sass in Foundation
Maybe I'm silly, but I can't figure out why I need Compass when using Foundation. I thought Foundation does everything Compass does - it was just a different Sass library. What am I missing here? Thank you!
Kevin Kenger32,834 Points
As you know, Foundation is a CSS Framework, which is (in most cases) a set of fixed CSS definitions that you can apply to your markup.
Compass however, is a CSS Authoring Framework. An Authoring Framework can assist in writing CSS code with different helpers, but you still have to write most of the CSS definitions yourself. These helpers, for example can help fix common browser issues like certain floats, and padding and margin specifications.
Along with using Compass and its helpers to build on top of a CSS Framework, like Foundation, it can also assist you in writing your own CSS Framework, which is pretty nifty.
I hope that helps at least a little bit! Let me know if you have any other questions!
James Barnett39,199 Points