I use Bootstrap 5 and I wand to use a switch-toggle.
I don't want to use any other addons, but only with bootstrap.
How to put a Text BEFORE the toggle switch.
This does not work:
<div class="form-check form-switch">
off
<input type="checkbox" class="form-check-input" id="site_state">
<label for="site_state" class="form-check-label">on</label>
</div>
Anyone have an idea ?
Aucun commentaire:
Enregistrer un commentaire