[英]Align vertically center Bootstrap columns
how can I align a third column vertically?如何垂直对齐第三列? I want third column vertically centered我想要第三列垂直居中
<div class="row align-items-center"> <div class="col-4"> One of three columns </div> <div class="col-4"> One of three columns </div> <div class="col-4"> One of three columns </div> <div class="col-4"> One of three columns </div><div class="col-4"> One of three columns </div> </div>
thanks谢谢
Try this if you want as in your attach otherwise i do not understand what you are looking for:如果你想在你的附件中试试这个,否则我不明白你在找什么:
<div class="col-12 row">
<div class="col-4">
One of three columns
</div>
<div class="col-4">
One of three columns
</div>
<div class="col-4">
One of three columns
</div>
<div class="col-4">
One of three columns
</div>
</div>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.