It's an open source project which allows you stylesheet abstraction. Create a .sass file, using slightly different markup, and once compiled, will render .css.
The advantages? Mixins; much like modules or plugins, Compass offers prewritten snippets of code. Do you want horizontal list? Import the right plugin and most of your work is already done.
Variables; let's say you've got a theme which implements a lot of black on both elements and text. You postulate you'd someday like to change the elements but always keep the text black. Right now the only way to do this is manual copy and paste (or by defining some values hex and others by name). Compass will allow you to update select variables; keeping code easy to maintain long-term.
Simple Math; on border widths? Yep; check out the screencast. Cool stuff.
Has anyone ever used the Compass .css framework?
It's an open source project which allows you stylesheet abstraction. Create a .sass file, using slightly different markup, and once compiled, will render .css.
The advantages?
Mixins; much like modules or plugins, Compass offers prewritten snippets of code. Do you want horizontal list? Import the right plugin and most of your work is already done.
Variables; let's say you've got a theme which implements a lot of black on both elements and text. You postulate you'd someday like to change the elements but always keep the text black. Right now the only way to do this is manual copy and paste (or by defining some values hex and others by name). Compass will allow you to update select variables; keeping code easy to maintain long-term.
Simple Math; on border widths? Yep; check out the screencast. Cool stuff.
Here is a screencast and article.
Blessings!
-NP