I have a list of 3 mailboxes with a title, border and a brief description.
At the moment, it looks like this:

I would like to use only CSS to align the green borders and push all the names of one line to the bottom.
The content and titles are dynamic, so it may happen that there will be 1, 2, 3 lines for the heading, but I always want the headings with fewer lines to start from the bottom, as in the example below.

I can not use Javascript!
Any suggestion would be appreciated.
At the moment, the code structure is as follows:
HTML:
<section id="" class="boxes">
<ul class="inline">
<li>
<article>
<h2>Mae hyn yn enghraifft prif llawer hwy</h2>
<p>
Mae llawer o bethau gwych cymaint yn mynd ymlaen yr haf hwn a, beth bynnag yw eich cynlluniau, nawr yw'r amser i fynd i'r afael a eich gwariant.
</p>
<a class="read-more" href="">Read more ></a>
</article>
</li>
CSS
ul.inline {
display: inline-block;
list-style-type: none;
margin: 0 0 20px;
padding: 0;
width: 978px;
}
ul.inline li {
float: left;
margin: 0 18px 0 0;
padding: 0;
width: 308px;
}
ul.inline li h2 {
border-bottom: 5px solid #34750E;
color: #34750E;
font-size: 21px;
margin: 0 0 10px;
padding: 0 0 10px;
position: relative;
}
ul.inline li a.read-more {
color: #34750E !important;
}
EDIT:
FIDDLE UP HERE
source
share