87,915
社区成员
发帖
与我相关
我的任务
分享
.radio,
.checkbox {
position: relative;
display: block;
margin-top: 10px;
margin-bottom: 10px;
}
.radio label,
.checkbox label {
min-height: 20px;
padding-left: 20px;
margin-bottom: 0;
font-weight: normal;
cursor: pointer;
}
<label class="checkbox">
<input type="checkbox" >下次自动登陆
</label>
<label class="checkbox">
<input type="checkbox" >下次自动登陆
</label>
这样的.
这段代码是bootstrap里,给checkbox 应用的样式.我偶然看了一下,感觉这是个bug,不知道对不对