Blueprint CSS 是否使用一些标准尺寸?

发布于 2024-09-28 21:08:55 字数 99 浏览 1 评论 0原文

我想知道 Blueprint CSS 是如何工作的——它是否使用一些标准尺寸(例如 24 列,40 像素宽度,或 20 列,48 像素宽度),并且通常是否有一个文件指定蓝图设置的细节?

I wonder how Blueprint CSS work -- does it use some standard dimensions (such as 24 columns with 40 pixel width, or 20 columns with 48 pixel width), and is there usually a file that specifies the specifics of the blueprint settings?

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

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

发布评论

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

评论(1

秋日私语 2024-10-05 21:08:55

官方快速入门教程详细介绍了尺寸:

默认情况下,网格宽度为 950 像素,有 24 列,跨度为 30 像素,列之间的边距为 10 像素。

还有 BlueCalc,它允许您生成具有特定列宽、装订线等的自己的 grid.css 文件

。列宽也可以通过修改 BlueprintCSS 包中的 grid.css 文件来手动修改。 span-1 到 span-24 类每个都有一个绝对宽度集(尽管使用 BlueCalc 更容易直观地看到您所做的更改)。

The official quick start tutorial details out the dimensions as:

By default, the grid is 950px wide, with 24 columns spanning 30px, and a 10px margin between columns.

There's also BlueCalc which allows you to generate your own grid.css file with specific column widths, gutters, etc.

The column widths are can also be modified manually by modifying the grid.css file in the BlueprintCSS package. The span-1 to span-24 classes each have an absolute width set (though using BlueCalc is a bit easier to visually see the changes you are making).

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