<i id='PW7JG'><tr id='PW7JG'><dt id='PW7JG'><q id='PW7JG'><span id='PW7JG'><b id='PW7JG'><form id='PW7JG'><ins id='PW7JG'></ins><ul id='PW7JG'></ul><sub id='PW7JG'></sub></form><legend id='PW7JG'></legend><bdo id='PW7JG'><pre id='PW7JG'><center id='PW7JG'></center></pre></bdo></b><th id='PW7JG'></th></span></q></dt></tr></i><div id='PW7JG'><tfoot id='PW7JG'></tfoot><dl id='PW7JG'><fieldset id='PW7JG'></fieldset></dl></div>
      <legend id='PW7JG'><style id='PW7JG'><dir id='PW7JG'><q id='PW7JG'></q></dir></style></legend>
        • <bdo id='PW7JG'></bdo><ul id='PW7JG'></ul>

        <small id='PW7JG'></small><noframes id='PW7JG'>

      1. <tfoot id='PW7JG'></tfoot>

        CSS 网格框架中的排水沟有什么意义?

        时间:2023-07-31
        <tfoot id='KLb7L'></tfoot>

      2. <small id='KLb7L'></small><noframes id='KLb7L'>

        <legend id='KLb7L'><style id='KLb7L'><dir id='KLb7L'><q id='KLb7L'></q></dir></style></legend>
              <tbody id='KLb7L'></tbody>

            • <i id='KLb7L'><tr id='KLb7L'><dt id='KLb7L'><q id='KLb7L'><span id='KLb7L'><b id='KLb7L'><form id='KLb7L'><ins id='KLb7L'></ins><ul id='KLb7L'></ul><sub id='KLb7L'></sub></form><legend id='KLb7L'></legend><bdo id='KLb7L'><pre id='KLb7L'><center id='KLb7L'></center></pre></bdo></b><th id='KLb7L'></th></span></q></dt></tr></i><div id='KLb7L'><tfoot id='KLb7L'></tfoot><dl id='KLb7L'><fieldset id='KLb7L'></fieldset></dl></div>

                  <bdo id='KLb7L'></bdo><ul id='KLb7L'></ul>
                  本文介绍了CSS 网格框架中的排水沟有什么意义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在研究 Web 开发,我正在使用包含网格系统的 Blueprint CSS 框架,我有几个问题.

                  I'm diving into web development and I'm playing with the Blueprint CSS framework, which includes a grid system, and I have a few questions.

                  1. 排水沟有什么意义?当然,它们不习惯在列之间包含空格,因为您可以为此使用 margin CSS 属性,对吗?或者排水沟只是管理利润的一种优雅方式?
                  2. 我不希望列之间有任何空间,并希望生成一个不包含装订线的网格布局,但所有生成器工具都阻止我使用零宽度装订线.这是为什么呢?
                  3. 似乎不再支持建议的蓝图 CSS 生成器.谁能推荐一个蓝图 CSS 生成器来修改网格以包含零宽度排水沟?
                  1. What's the point of gutters? Surely they're not used to include space between the columns because you can just use the margin CSS property for that, right? Or are gutters just an elegant way to manage margins?
                  2. I don't want any space between my columns and would like to generate a grid layout that doesn't include gutters, but all the generator tools prevent me from having zero-width gutters. Why is that?
                  3. It appears the suggested Blueprint CSS generator is no longer supported. Can anyone suggest a Blueprint CSS generator for modifying the grid to include zero-width gutters?

                  非常感谢您的智慧!

                  推荐答案

                  CSS Grid 系统背后的动机是完全自动化布局.排水沟通常是可取的,因为列之间的空白可以提高可读性,因此将它们作为自动化的一部分包含在内是有意义的.

                  The motivation behind a CSS Grid system is to completely automate layout. Gutters are usually desirable because white space between columns makes for better legibility so it makes sense to include them as part of the automation.

                  生成器存在的理由是让您摆脱实现它们所需的稍微繁琐的计算,但没有排水沟,数学和 css 一点也不复杂.

                  A Generator's raison d'être is to relieve you of the slightly tedious calculations necessary to implement them but without the gutters both the math and the css isn't at all complicated.

                  在没有发电机的情况下制作无排水沟网格应该非常简单.例如

                  It should be very straight forward to do a no-gutter grid without a generator. e.g.

                  ( column width X n of columns ) + left margin + right margin = content width
                  
                  .span-1 {width:100px}
                  .span-2 {width:200px}
                  .span-3 {width:300px}
                  .span-4 {width:400px}
                  
                  etc...
                  

                  这篇关于CSS 网格框架中的排水沟有什么意义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:&lt;img title=&quot;&lt;a href='#' onCli 下一篇:使用 javascript/jQuery 查找最接近鼠标位置的网格坐标

                  相关文章

                • <tfoot id='9dddM'></tfoot>

                      <legend id='9dddM'><style id='9dddM'><dir id='9dddM'><q id='9dddM'></q></dir></style></legend>

                        <bdo id='9dddM'></bdo><ul id='9dddM'></ul>

                    1. <small id='9dddM'></small><noframes id='9dddM'>

                    2. <i id='9dddM'><tr id='9dddM'><dt id='9dddM'><q id='9dddM'><span id='9dddM'><b id='9dddM'><form id='9dddM'><ins id='9dddM'></ins><ul id='9dddM'></ul><sub id='9dddM'></sub></form><legend id='9dddM'></legend><bdo id='9dddM'><pre id='9dddM'><center id='9dddM'></center></pre></bdo></b><th id='9dddM'></th></span></q></dt></tr></i><div id='9dddM'><tfoot id='9dddM'></tfoot><dl id='9dddM'><fieldset id='9dddM'></fieldset></dl></div>