开发者

LESS vs. COMPASS

For a rails CSS framework f开发者_运维知识库or an existing app, which one do you prefer - LESS or COMPASS?


Less and Compass are not really direct competitors.

LESS is a CSS engine. Compass is more a toolbox around SASS/SCSS and Blueprint CSS framewok. So if you want to use Blueprint in your project, use Compass.

You should take a look at LESS syntax and SCSS syntax and choose the one your prefer. But they both are now a superset of CSS 3 and they have more or less the same features.

Another thing to know is that SCSS/SASS is still included in HAML gem. So if you want to use HAML...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜