I have this sample:
CODE HTML:
<div class="product-group">
<div class="product-wrapper">
<div class="product-img">
<img src="http://s1.busteco.ro/cristi/rbb/media/catalog/product/cache/3/small_image/210x/9df78eab33525d08d6e5fb8d27136e95/images/catalog/product/placeholder/small_image.jpg" >
</div>
<div class="product-details">
<h3 class="product-name">
<a href="http://s1.busteco.ro/cristi/rbb/b2b/better-than-a-tie-bundle.html" title=""Better Than a Tie" Father’s Day Gift Bundle">
"Better Than a Tie" Father’s Day Gift Bundle </a>
</h3>
<div class="product-description">
<p class="availability">
Release date:
07/26/2016 </p>
<a href="http://s1.busteco.ro/cristi/rbb/b2b/better-than-a-tie-bundle.html" class="button view">View product</a>
</div>
</div>
</div>
<div class="product-wrapper">
<div class="product-img">
<img src="http://s1.busteco.ro/cristi/rbb/media/catalog/product/cache/3/small_image/210x/9df78eab33525d08d6e5fb8d27136e95/images/catalog/product/placeholder/small_image.jpg" >
</div>
<div class="product-details">
<h3 class="product-name">
<a href="http://s1.busteco.ro/cristi/rbb/b2b/better-than-a-tie-bundle.html" title=""Better Than a Tie" Father’s Day Gift Bundle">
"Better Than a Tie" Father’s Day Gift <br> Bundle"Better Than a Tie" Father’s Day <br> Gift Bundle "Better Than a Tie" <br>Father’s Day Gift Bundle "Better Than a Tie" <br> </a>
</h3>
<div class="product-description">
<p class="availability">
Release date:
07/26/2016 </p>
<a href="http://s1.busteco.ro/cristi/rbb/b2b/better-than-a-tie-bundle.html" class="button view">View product</a>
</div>
</div>
</div>
</div>
CODE CSS:
.product-group{
display: inline-flex;
flex-wrap: wrap;
justify-content: space-between;
width: 100%; }
.product-wrapper{
background:#f0f0f0;
margin:35px 0;
padding:8px 8px 10px 8px;
}
.product-name { margin:0; font-size:1em; font-weight:normal; }
.product-wrapper .product-details p.availability {
font-size: 12px;
text-transform: capitalize;}
Plase view the button "view product",It must be in the bottom always, regardless of content.
At this time, the buttons are not aligned as they should. Their position is bottom: 0
How can you do this without using position: absolute?
Thanks in advance!