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>
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐