5

I recently stumbled upon "elastic css" framework, which looks like a good thing to me. I tried blueprint already but I must say this seems to be an overkill for me (tried it with compass).

So my question to you rails/xhtml webdevelopers out there: Is the elastic css framework together with rails (3) and haml/sass a good thing? ;)

I searched the www but did not even find if elastic css can be used together with sass and haml - anyone has experience with that? Maybe there is also something as simple as fluid css out there? Are there any recommendations?

Thanks!

FYI: http://elasticss.com

4

3 回答 3

4

我不知道这个确切的“弹性 CSS 框架”的端口,但 Susy 是 Compass/Sass 原生构建的框架,可以处理静态、流体和弹性网格的任何组合——专门研究 Natalie Downe 的 Elastic-Fluid 技术:

http://susy.oddbird.net/

希望有帮助!

于 2010-03-02T20:41:00.823 回答
1

I think this is what you want: https://github.com/marnen/compass-elastic-plugin

于 2011-06-14T20:20:48.887 回答
0

Elastic CSS Framework 的主要区别在于您不需要将其移植到 Sass/Haml,因为它不是网格系统而是布局框架。我们尝试过使用 elastic、rails 2.3 和 haml、sass。不是非常大的事情,但绝对有效。

它实际上应该适用于所有情况,因为您将只使用 sass 来为您的网站蒙皮,您不需要做任何布局,您可以让 elastic 做到这一点,所有填充、背景、颜色和东西,您都可以做到在 sass 中没有问题。

就像 elastic 使用类一样,haml 根本不是问题。而且你真的不需要只使用 div,你可以将类从弹性应用到任何元素。

因此,您应该尝试一下,我们很乐意帮助google groups 的 elasticss 组中的任何人。

于 2010-03-11T08:56:10.800 回答