Bootstrap复选框和添加切换

div class = btn-group data-toggle = buttonslabel class = btn btn-primary

编程学习网为您整理以下代码实例,主要实现:Bootstrap复选框和添加切换,希望可以帮到各位朋友。

<div class = "btn-group" data-toggle = "buttons">
   <label class = "btn btn-primary">
      <input type = "checkBox"> Option 1
   </label>

   <label class = "btn btn-primary">
      <input type = "checkBox"> Option 2
   </label>

   <label class = "btn btn-primary">
      <input type = "checkBox"> Option 3
   </label>
</div>

本文标题为:Bootstrap复选框和添加切换

基础教程推荐