新增 修改 删除 类别编号 类别名称 类别组 状态 说明 C00001
Single toggleCheckedChecked success radio
.checkbox-success input[type="radio"]:checked + label::before{background-color:#5cb85c;border-color:#5cb85c; }.checkbox-success input[type="checkbox"]:checked + label::after, .checkbox-success input[type="radio"]:checked + label::after{color:#fff;}.checkbox-primary input[type="checkbox...
Option 1 尝试一下 »复选框通过使用 class="form-check" 来确保标签和复选框有适当边距。 .form-check-label 类添加到标签元素,.form-check 容器内添加 .form-check-input 类来设置复选框的样式。checked 属性用于设置默认选中的选项。 单选框如果您希望用户从预设选项列表中选择一个选项...
复选框的文本使用 label 标签,标签使用 .custom-control-label 类,label 的 for 属性值需要匹配复选框的 id。 实例 选项 1 选项 2 #内联 选项 1 选项 2
记住密码 喜欢 不喜欢
class="radio"> 选项2 - 选择它将会取消选择选项 1 内联的复选框和单选按钮的实例 选项1 选项2 选项3
Check me out ... 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. That's it. It will work. But itwill notwork if you nest input inside label or put label before input. If you want to enableOpera 12and earlier support just add classstyledtoinputelement: ... ... 1. 2. ...
class="form-control" id="pwd" placeholder="Enter password" name="pswd"> Remember me Submit 尝试一下 »显示效果:实例中我们使用 .form-label 类来确保标签元素有一定的内边距。复选框(checkboxe)使用不同的标记。 它们使用 .form-check 包裹在容器元素周围。复选框和单选按钮使用 .form-chec...
class="radio"> 选项 2 - 选择它将会取消选择选项 1 内联的复选框和单选按钮的实例 选项 1 选项 2 选项 3