I'm using a Bootstrap 4 grid to display some elements - the titles and textual content of which I want vertically-top aligned (which they are). There is then a <button>
at the end of each grid element that I want to be vertically aligned bottom, level with any other <buttons>
in other grid elements that may happen to be on that row (responsive).
I've seen examples of aligning everything to the bottom, but not mixing some elements. I've tried the suggestions in eg other similar posts
Here's my HTML:
<div class="row services">
<div class="col-lg-4 col-md-6 icon-box" data-aos="fade-up">
<h3 class="title">Element 1</h3>
<p class="description collectiontext">Element description</p>
<button class="btn btnGetQuote" onclick="javascript:functionA()">Get quote</button>
</div>
<div class="col-lg-4 col-md-6 icon-box" data-aos="fade-up">
<h3 class="title">Element 2</h3>
<p class="description collectiontext">Element description</p>
<button class="btn btnGetQuote" onclick="javascript:functionB()">Get quote</button>
</div>
<div class="col-lg-4 col-md-6 icon-box" data-aos="fade-up">
<h3 class="title">Element 2</h3>
<p class="description collectiontext">Element description</p>
<button class="btn btnGetQuote" onclick="javascript:functionB()">Get quote</button>
</div>
<div class="col-lg-4 col-md-6 icon-box" data-aos="fade-up">
<h3 class="title">Element 3</h3>
<p class="description collectiontext">Element description</p>
<button class="btn btnGetQuote" onclick="javascript:functionC()">Get quote</button>
</div>
...<div class="col-lg-4 col-md-6 icon-box" data-aos="fade-up"></div> * several
</div>
Any help would be appreciated..