我尝试了一千种方法,但我无法获得该方法的样式或空间。我需要使用引导程序。
我需要它看起来像这样
我的代码是:
<!-- 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>
我知道我现在没有应用任何样式代码或任何东西,但我尝试过装订线、间距、颜色(bs-secondary)但没有任何效果。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
我创建了一个完整的代码作为示例,实际上有很多种制作方法;我为我选择了最短且最快的
.contain-brand{ width: fit-content; background-color: #6d757c; } .fa-brands{color:#FFF;} /*edit standard css bootstrap*/ .form-check-input{margin-top: 0!important;}