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 = "radio" name =" options" ID = "option1"> Option 1
   </label>

   <label class = "btn btn-primary">
      <input type = "radio" name = "options" ID = "option2"> Option 2
   </label>

   <label class = "btn btn-primary">
      <input type = "radio" name = "options" ID = "option3"> Option 3
   </label>
</div>

本文标题为:Bootstrap单选框

基础教程推荐