gpt4 book ai didi

html - 如何将复选框放在div的底部?

转载 作者:太空宇宙 更新时间:2023-11-04 02:54:20 25 4
gpt4 key购买 nike

enter image description here

enter image description here

这是我的代码

                       <div class="blanline2">
<input type="checkbox" name="car" />
<label id="low_login" class="low_login">下次自动登录</label>
</div>
.blanline2 {
width: 280px;
height:40px;

}

下面,我觉得会把第一图改成第二图的样式

谁能帮到你我会感激不尽

最佳答案

HTML

<div class="blanline2">
<input type="checkbox" name="car" />
<label id="low_login" class="low_login">下次自动登录</label>
</div>

CSS

.blanline2 { display: flex; }

演示:http://jsfiddle.net/wxocofu6/3/

关于html - 如何将复选框放在div的底部?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32448538/

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