gpt4 book ai didi

html - 如何让我的色谱柱达到平衡?

转载 作者:太空宇宙 更新时间:2023-11-04 06:56:08 24 4
gpt4 key购买 nike

列似乎没有正确平衡(每列行数不是 </p> 每列)。

尝试过 column-fill: balance with no joy.

从图中可以看出。右侧有 1 个段落,左侧有 3 个段落。

enter image description here

.col {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
text-align: left;
margin: 12px 0 18px;
display: inline-block;
}
<div class="col">
<p>Our vision is simple. To capture your story in the most beautifully stunning way with our imaginative and contemporary style...</p>
<p>After photographing hundreds of weddings, we have concluded that there are 2 main types of photographers, the SNAP photographer and the STANDARD photographer.</p>
<p>The standard photographers primary role is to capture the finest of details and moments telling the unique story of your wedding day. The snap photographer, however, is responsible for the 'hang on the wall' family and friends formal group photos.</p>
<p>We offer Hong Kong Wedding Day Photography packages that cover both standard and snap photographers. This way you can relax and enjoy your wedding, knowing that we will capture every single moment of your special day.</p>
</div>

最佳答案

这是基于 ercan peker 的回答。

    .col {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 9px;
-moz-column-gap: 9px;
column-gap: 9px;
}
<div class="col">
Our vision is simple. To capture your story in the most beautifully stunning way with our imaginative and contemporary style...
<br><br>
After photographing hundreds of weddings, we have concluded that there are 2 main types of photographers, the SNAP photographer and the STANDARD photographer.
<br><br>
The standard photographers primary role is to capture the finest of details and moments telling the unique story of your wedding day. The snap photographer, however, is responsible for the 'hang on the wall' family and friends formal group photos.
<br><br>
We offer Hong Kong Wedding Day Photography packages that cover both standard and snap photographers. This way you can relax and enjoy your wedding, knowing that we will capture every single moment of your special day.
</div>

我已经编辑了上面的答案并想出了这个。它在每一列上均匀分布线条。

关于html - 如何让我的色谱柱达到平衡?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52433107/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com