Div 底部在列中对齐 [英] Div bottom aligned in column
问题描述
我使用的是带有四列布局的 Bootstrap 4.现在我有一列文本较长,导致末尾的按钮"未对齐.
HTML 如下:
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="样式表" 完整性="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="匿名"><script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5storigt;m/脚本><div class="容器"><div class="row mt-4"><div class="col-lg-12 title-1 text-center">我的标题
<div class="row py-5"><div class="col-lg-3"><img class="img-fluid mx-auto d-block" src="https://via.placeholder.com/510x661.png" alt=""><div class="text-center title-4 volume">lorem</div><小时><div class="text-center title-2">只是一个测试
<div class="button-1 text-center title-3">更多信息
<div class="col-lg-3 mt-lg-0 mt-5"><img class="img-fluid mx-auto d-block" src="https://via.placeholder.com/510x661.png" alt=""><div class="text-center title-4 volume">lorem</div><小时><div class="text-center title-2">这是导致问题的较长文本