Answers for "bootstrap switches radio"

1

checkbox switch bootstrap

Bootstrap 5

<div class="form-check form-switch" title='Toggle'>
	<input type="checkbox" class="form-check-input" id="switch" />
	<label class="form-check-label" for='switch'>sometext</label>
</div>
Posted by: Guest on October-07-2021
0

radio buttons in bootstrap

<input type="radio" class="btn-check" name="options" id="option1" autocomplete="off" checked>
<label class="btn btn-secondary" for="option1">Checked</label>

<input type="radio" class="btn-check" name="options" id="option2" autocomplete="off">
<label class="btn btn-secondary" for="option2">Radio</label>

<input type="radio" class="btn-check" name="options" id="option3" autocomplete="off" disabled>
<label class="btn btn-secondary" for="option3">Disabled</label>

<input type="radio" class="btn-check" name="options" id="option4" autocomplete="off">
<label class="btn btn-secondary" for="option4">Radio</label>
Posted by: Guest on April-29-2021

Browse Popular Code Answers by Language