1 回答
TA贡献1810条经验 获得超5个赞
justify-content-center可行,但没有人给出答案,所以我就这么做了。
请参阅下面的片段以帮助您理解。
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="col text-center">
<div class="row justify-content-center">
<div id="tantargyselectdiv" class="col-sm-5">
<select name="tantargyselect" id="tantargyselect">
</select>
</div>
<div class="col-sm-5 text-center">
<div class="form-group">
<button type="submit" class="btn btn-primary">Mehet</button>
</div>
</div>
</div>
<div class="row justify-content-center">
<div id="tanarselectdiv" class="col-sm-5">
<select name="tanarselect" id="tanarselect">
</select>
</div>
<div class="col-sm-5 text-center">
<div class="form-group">
<button type="submit" class="btn btn-primary">Mehet</button>
</div>
</div>
</div>
<div class="row justify-content-center">
<form action="{{URL::to('statisztikaBetoltFelev')}}" method="post">
<input type="hidden" name="_token" value="{!! csrf_token() !!}">
<div id="felevselectdiv" class="col-sm-5 text-center">
<select name="felevselect" id="felevselect">
</select>
</div>
<div class="col-sm-5 text-center">
<div class="form-group">
<button type="submit" class="btn btn-primary">Mehet</button>
</div>
</div>
</form>
</div>
</div>
- 1 回答
- 0 关注
- 112 浏览
添加回答
举报