Bootstrap CSS Classes

Bootstrap CSS class .radio as button

<div class="btn-group btn-group-toggle" data-toggle="buttons">
  <label class="btn btn-secondary active">
    <input type="radio" name="options" id="option1" autocomplete="off" checked> Active
  </label>
  <label class="btn btn-secondary">
    <input type="radio" name="options" id="option2" autocomplete="off"> Radio
  </label>
</div>

Preview

Are you tired of writing HTML by hand?

More Bootstrap CSS classes in Button Modifiers category

© 2024 Shuffle. All rights reserved.