带有 Rails 3 和 haml/sass 的弹性 CSS 框架?

发布于 2024-08-23 15:40:09 字数 369 浏览 9 评论 0原文

我最近偶然发现了“elastic css”框架,这对我来说看起来是个好东西。我已经尝试过蓝图,但我必须说这对我来说似乎有点矫枉过正(用指南针尝试过)。

所以我向rails/xhtml web 开发人员提出的问题是:弹性CSS 框架与rails (3) 和haml/sass 一起是一件好事吗? ;)

我搜索了www,但甚至没有找到elastic css是否可以与sass和haml一起使用 - 有人有这方面的经验吗?也许还有像 Fluid CSS 这样简单的东西?有什么建议吗?

谢谢!

仅供参考:http://elasticss.com

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

白云悠悠 2024-08-30 15:40:09

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

http://susy.oddbird.net/

希望有帮助!

I don't know about ports of this exact 'Elastic CSS Framework', but Susy is a framework built native to Compass/Sass that handles any combination of static, fluid and elastic grids - specializing in Natalie Downe's Elastic-Fluid technique:

http://susy.oddbird.net/

Hope that helps!

北渚 2024-08-30 15:40:09

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

它实际上应该在所有情况下都有效,因为你只会使用 sass 来给你的网站换肤,你不需要做任何布局,你可以让弹性来做,所有的填充,背景,颜色和东西,你都可以这样做在 sass 中没有问题。

就像elastic 使用类一样,haml 根本不是问题。而且您实际上并不需要只使用 div,您可以将 elastic 中的类应用到任何元素。

因此,您应该尝试一下,我们很乐意为 elasticss 群组中的任何人提供帮助,网址为Google 群组

The main difference on Elastic CSS Framework is that you don't need to port it to Sass/Haml,
because its not a grid system its a layout framework. We have tried using elastic, rails 2.3, and haml, sass. not for very big things but definitely works.

It actually should work in all cases because you would be using sass only for skinning your site, you don't need to do any layout, you can let elastic do that, and all paddings, backgrounds, colors and stuff, you can do that in sass without problems.

Like elastic uses classes, haml is not a problem at all. and you don't really need to use divs only, you can apply the classes from elastic to any element.

So, you should try it out, and we are happy to help anyone on the elasticss group at google groups.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文