我想将我的收音机按钮与Bootstrap 4对齐。
它应该是这样的:
你有什么想法我怎么能得到这个?
我试过这段代码:
<ul class="list-group">
<li class="list-group-item">
<label class="custom-control custom-radio">
<span class="custom-control-description">Toggle this custom radio</span>
<span class="custom-control-indicator"></span>
<input name="radio-stacked" type="radio" class="custom-control-input">
</label>
</li>
<li class="list-group-item">
<label class="custom-control custom-radio">
<span class="custom-control-description">Toggle this custom radio</span>
<span class="custom-control-indicator"></span>
<input name="radio-stacked" type="radio" class="custom-control-input">
</label>
</li>
<li class="list-group-item">
<label class="radio-inline">
<input name="account_type" id="input-type-tutor" value="Tutor" type="radio"/>Tutor
</label>
</li>
</ul>