960 比 Blueprint 更有利于好的设计吗?

发布于 2024-08-06 20:09:31 字数 237 浏览 6 评论 0原文

使用 960 设计的网站与使用 蓝图,在我看来960网站要清晰得多。

我不知道这是否是我正在查看的样本的巧合。

或者说 960 是否有什么东西更有利于好的设计?

Comparing sites designed in 960 with sites designed using Blueprint, it seems to me the 960 sites are a lot sharper.

I don't know if this is a coincidence of the samples I'm looking at.

Or is there something about 960 that is more conducive to good design?

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

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

发布评论

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

评论(3

坏尐絯℡ 2024-08-13 20:09:31

我个人认为主要区别在于学习曲线和灵活性。
960 可以让您制作 960px 宽的网站,并且学习曲线非常低。观看此视频,您将在几分钟内完成网站设计:http://net.tutsplus.com/videos/screencasts/a-detailed-look-at-the-960-css-framework/

蓝图更加灵活。但960.gs仍然是我个人的偏好。

i personally think that the main difference is learning curve and flexibility.
the 960 will let you do 960px wide sites and learning curve is very low. watch this video you'll have your site design up in few minutes: http://net.tutsplus.com/videos/screencasts/a-detailed-look-at-the-960-css-framework/

blueprint is more flexible. but still 960.gs is my personal preference.

哆兒滾 2024-08-13 20:09:31

与 Chris Schmitz 的观点一致,我更喜欢使用我自己的更具语义的类集,但这并不是说我偶尔不会深入研究框架。如果我确实使用框架,那么我倾向于将其精简为简单的框架,并根据我所需的布局对其进行广泛的自定义。我知道在某些方面这违背了使用框架的目的,但它给了我两全其美的好处:知道它可以在大多数浏览器上运行,并且具有语义性并且可以轻松地与我现有的代码一起使用。

就我个人而言,我使用蓝图(如果我需要框架)。 960 Grid 系统构建良好,但限制颇多。当谈到定制时,蓝图获胜。

In agreement with Chris Schmitz I prefer to use my own more semantic set of classes, but that's not to say I don't delve into a framework occasionally. If I do use a framework, then I tend to strip it back to bare bones and customize it extensively depending on my required layout. I know in some ways this defeats the object of using a framework but it gives me the best of both worlds: Knowing it will work across most browsers, as well as being semantic and sitting comfortably alongside my existing code.

Personally, I use Blueprint (if and when I need a framework). The 960 Grid system is well built but quite restrictive. When it comes to customization Blueprint wins.

场罚期间 2024-08-13 20:09:31

除了 Chris Schmitz 的帖子 - 当我使用蓝图 CSS 时,我总是有一个问题,我应该为一个 div 使用 2 个或更多类名,

<div class="span-13 prepend-7 my-class-name">

.span-13 {width:510px;} // from blueprint
.prepend-7 {padding-left:280px;} // from blueprint
.my-class-name {font:, color: background}

还是将它联合到一个类中

<div class="my-class-name">
.my-class-name {font:; color:; background:; width:510px; padding-left:280px;}

,我总是选择第二个变体,

我也不满意这个(需要使用蓝图)
重置蓝图 h1 中的代码

{font-size:3em;line-height:1;margin-bottom:0.5em;}
h2 {字体大小:2em;边距底部:0.75em;}
h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}

为了避免浏览器中的任何差异,我总是在我的类中用零覆盖蓝图值
.my-class-name h1 {margin: 0px;}

因此,结论是 - 如果您不想拥有自己的样式和设计 ->蓝图是你的选择

in addition to Chris Schmitz post - when I use the blueprint CSS I always have a question, should I use 2 or more classnames for one div

<div class="span-13 prepend-7 my-class-name">

.span-13 {width:510px;} // from blueprint
.prepend-7 {padding-left:280px;} // from blueprint
.my-class-name {font:, color: background}

or union it in one class

<div class="my-class-name">
.my-class-name {font:; color:; background:; width:510px; padding-left:280px;}

and I always select the second variant,

also I didn't happy with this (using blueprint is requirement)
reset code in blueprint

h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
h2 {font-size:2em;margin-bottom:0.75em;}
h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}

to avoid any differents in browsers I always ovverride the blueprint values with zero in my classes
.my-class-name h1 {margin: 0px;}

So, conclusion is - if you didn't want to have your styles and design -> blueprint is your choice

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