Bootstrap 4 Radio-Buttons右

时间:2017-07-18 07:05:25

标签: bootstrap-4 twitter-bootstrap-4

我想将我的收音机按钮与Bootstrap 4对齐。

它应该是这样的:

It should look like this

你有什么想法我怎么能得到这个?

我试过这段代码:

        <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>

0 个答案:

没有答案