Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/73.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Bulma中的列是水平排列的,我们可以固定一行中的列数而其余的列数在另一行中吗? ''{%用于allServices%}'中的服务' {{service.serviceTitle} ''{%endfor%}''_Html_Django_Bulma - Fatal编程技术网

Html Bulma中的列是水平排列的,我们可以固定一行中的列数而其余的列数在另一行中吗? ''{%用于allServices%}'中的服务' {{service.serviceTitle} ''{%endfor%}''

Html Bulma中的列是水平排列的,我们可以固定一行中的列数而其余的列数在另一行中吗? ''{%用于allServices%}'中的服务' {{service.serviceTitle} ''{%endfor%}'',html,django,bulma,Html,Django,Bulma,[ 如果我继续添加列,不管有多少列,它都是水平的* 正如文档中所说,在一行中有固定数量的列的最简单方法是将它们放在列元素中,然后使用第二个列元素作为其余元素。 但是您也可以将类is multiline添加到列容器中,并使用(例如是一半,是三分之一等)定义适合一行的元素,以便其他元素使用另一行。 ,但如果希望所有列元素具有相同的大小,则使用2个列容器将更容易 <section class="section"> <div class="container"> <

[

  • 如果我继续添加列,不管有多少列,它都是水平的*

正如文档中所说,在一行中有固定数量的列的最简单方法是将它们放在
元素中,然后使用第二个
元素作为其余元素。
但是您也可以将类
is multiline
添加到
容器中,并使用(例如
是一半
是三分之一
等)定义适合一行的元素,以便其他元素使用另一行。
,但如果希望所有
元素具有相同的大小,则使用2个
容器将更容易

<section class="section">
<div class="container">
    <div class="tile is-ancestor">
        '''{% for service in allServices %}'''
        <div class="tile is-vertical is-parent">
            <div class="tile is-child box">
              <h1 class="title is-centered">{{service.serviceTitle}} </h1>
            </div>
        </div>
        '''{% endfor %}'''
    </div>
</div>