gpt4 book ai didi

html - 如何在新行上显示标签/值并显示另一个嵌套的标签值对

转载 作者:行者123 更新时间:2023-11-28 15:04:25 25 4
gpt4 key购买 nike

这就是我想要的,

enter image description here

这就是我得到的,

enter image description here

这是代码,我正在使用 bulma,但我正在挣扎......

<section class="section">
<p>Please confirm details below as required and stated before, no jokes</p>
<div class="container">
<div class="columns">

<div class="column is-3 has-text-right has-text-weight-bold">
Short Label 1:
</div>
<div class="column is-2">
<div class="field">
<p class="control">
Short Label 1 Value
</p>
</div>
</div>

<div class="column is-2 has-text-right has-text-weight-bold">
Short Label 2:
</div>
<div class="column is-2">
<div class="field">
<p class="control">
long value long value long value long value long value long value long value
</p>
</div>
</div>

<div class="column is-2 has-text-right has-text-weight-bold">
Bit Long Label Than Usual 3:
</div>
<div class="column is-2">
<div class="field">
<p class="control">
long value long value
</p>
</div>
</div>
</div>
</div>
</section>

最佳答案

看起来你需要把它放在那

<div class="column ...">
...
</div>

内行

 <div class='rows'>
<div class='row is-full'> column 1 | column 2 </div>
<div class='row is-full'> column 1 | column 2 </div>
</div>

关于html - 如何在新行上显示标签/值并显示另一个嵌套的标签值对,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59533012/

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