Toggle
<div class="container py-6 mt-3"> <div class="row"> <div class="col-4 mx-auto"> <div class="form-check form-switch d-flex align-items-center ps-6"> <input class="form-check-input" type="checkbox" id="flexSwitchCheckDefault"> <label class="form-check-label ms-3 mb-0" for="flexSwitchCheckDefault">Remember me</label> </div> </div> </div> </div>
Toggle Context
<div class="container py-6 mt-3"> <div class="d-flex justify-content-center align-items-center"> <div> <div class="form-check form-switch mb-0"> <input class="form-check-input" type="checkbox" id="flexSwitchCheckDefault"> </div> </div> <div class="ms-4"> <span class="text-dark font-weight-bold d-block text-sm">Remember me</span> <span class="text-xs d-block">Be sure that you will always be logged in.</span> </div> </div> </div>