I've tried a thousand ways but I can't get the style or space to work with this method. I need to use bootstrap.
I need it to look like this
My code is:
<!-- Cuarta fila --> <div class="col-6"> <label for="creditc" class="form-label fw-bold">We accept:</label> <div> <input class="form-check-input" type="radio" name="tarjeta1" id="tarjeta1"> <i class="fa-brands fa-cc-visa"></i> <input class="form-check-input" type="radio" name="tarjeta1" id="tarjeta1"> <i class="fa-brands fa-cc-mastercard"></i> <input class="form-check-input" type="radio" name="tarjeta1" id="tarjeta1"> <i class="fa-brands fa-cc-apple-pay"></i> <input class="form-check-input" type="radio" name="tarjeta1" id="tarjeta1"> <i class="fa-brands fa-cc-amazon-pay"></i> </div> </div> <div class="col-6"> <label for="city" class="form-label fw-bold">Message</label> <textarea class="form-control" style="overflow:auto;resize:none"></textarea> <small id="passwordHelpBlock" class="form-text text-muted">Add any notes here.</small> </div>
I know I'm not applying any style code or anything right now, but I've tried gutter, spacing, color (bs-secondary) and nothing works.
P粉5634465792024-04-04 09:15:42
I created a complete code as an example, there are actually many ways to make it; I chose the shortest and fastest one for me
.contain-brand{ width: fit-content; background-color: #6d757c; } .fa-brands{color:#FFF;} /*edit standard css bootstrap*/ .form-check-input{margin-top: 0!important;}
Add any notes here.