适用于移动开发的 CSS 框架?

发布于 2024-10-11 10:07:41 字数 712 浏览 2 评论 0原文

在过去的一年里,我已经成为 BluePrint.css 的粉丝,它可以用来管理大型 Web 应用程序项目。我还研究了 960 和 YUI 的产品。一切都很好(尽管我对 YUI 有一些抱怨)。

我现在正在开发一个移动项目,考虑到我们需要适应各种屏幕尺寸,我认为 css 网格框架是最好的选择。

我可能会大量修改 BluePrint 逻辑和/或从头开始构建一个蓝图逻辑,但在这样做之前,我想知道是否有人使用过特定的移动框架,并且会为移动开发人员推荐一个特定的框架。

我看过Less和cssgrid

http://lessframework.com/

http://cssgrid.net/

两者都相当不错。 Less 使用一致的列宽并更改列数。 CSSgrid 使用流体列来适应屏幕尺寸。另一方面,我正在设想另一种方法,我们使用固定数量的列,然后根据屏幕宽度动态调整宽度。我更喜欢这个选项,因为我发现流体网格在大量嵌套的情况下会变得难以管理。我应该首先考虑的其他选择是什么?

澄清:我目前不一定需要完整的 UI 框架。我们最终肯定会得到一个,无论是 jQuery 还是我们自己的,但现在的主要目标是找到和/或构建一个 CSS 框架来处理跨多个移动设备屏幕分辨率和方向的常规页面布局和定位。

Over the past year, I've become a fan of BluePrint.css for managing larger web app projects. I've also looked at 960 and YUI's offerings as well. All good (though I have some complaints about YUI).

I'm working on a mobile project now and given that we need to accommodate various screen sizes, I'm thinking a css grid framework is the way to go again.

I'll likely be heavily modifying the BluePrint logic and/or building one from scratch, but before I did that, I was wondering if anyone has used a particular framework for mobile and would recommend one particular one for mobile dev.

I've looked at Less and cssgrid

http://lessframework.com/

http://cssgrid.net/

Both are quite nice. Less uses consistent column widths and changes the number of columns. Cssgrid uses fluid columns to accommodate the screen sizes. I, on the other hand, am envisioning yet another method where we'd use a fix number of columns, then adjust the widths on the fly based on the screen width. I'm preferring that option as I've found that fluid grids can become difficult to manage with heavy nesting. Any other options I should take a look at first?

Clarification: I don't necessarily need a full UI framework at the moment. We'll definitely end up with one, be it jQuery or our own, but the primary goal right now is to find and/or build a CSS framework to handle general page layout and positioning across multiple mobile device screen resolutions and orientations.

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

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

发布评论

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

评论(5

醉生梦死 2024-10-18 10:07:41

有“320 及以上”框架,以及 HTML 5 移动样板(尽管后者与其说是一个框架,不如说是一个起点)。

There's the '320 and up' framework, and the HTML 5 mobile boilerplate (although the latter isn't so much a framework, but a starting point).

去了角落 2024-10-18 10:07:41

如果您想针对 iPhone 进行开发,可以查看 iUI 框架

If you're looking to develop for iPhone, you might take a look at the iUI Framework

浅紫色的梦幻 2024-10-18 10:07:41

是的,听起来您确实将构建自己的“BluePrint Mini”或“480 网格系统”——我们将在这里欣赏它。

其中一个出发点可能是 Matthew James Taylor 的作品。他确实依赖于你所说的你不想要的流体网格,但它值得一看。

Yes, it does sound like you'll have build your own "BluePrint Mini" or "480 Grid System"--and we'll be here to admire it.

One point of departure could be the work of Matthew James Taylor. He does rely on the fluid grid you've said you don't want, but it's worth a look.

不即不离 2024-10-18 10:07:41

DA,

你可以尝试一下 jQueryMobile 框架。

我相信 这篇文章可以帮助你。

克莱伯。

DA,

You can try the jQueryMobile framework.

I believe this post can help you.

Cleber.

仙女山的月亮 2024-10-18 10:07:41

这是我正在考虑使用的一个:

http://jeromeetienne.github.com/jquery-mobile -960/

看起来它有一些网格尺寸较小的显示错误。

Here is one that I am considering using:

http://jeromeetienne.github.com/jquery-mobile-960/

Looks like it has some display bugs with smaller grid sizes.

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