JSFiddle - React, Tailwind, and code Playground
HTML
<div class="pricing col-3 clearfix">
<div class="price">
<h2>small</h2>
<h3>2.99/month</h3>
<div class="description">some text here</div>
<a href="button link" title="button text" class="button">button text</a>
</div>
<div class="price featured">
<h2>medium</h2>
<h3>5.99/month</h3>
<div class="description">some text here</div>
<a href="button link" title="button text" class="button">button text</a>
</div>
<div class="price">
<h2>large</h2>
<h3>9.99/month</h3>
<div class="description">some text here</div>
<a href="button link" title="button text" class="button">button text</a>
</div>
</div>
CSS
.pricing { margin-top: 30px }
.pricing.col-3 .price { width: 32%; }
.pricing.col-3 .price.featured { width: 36%; }
.pricing.col-4 .price { width: 24%; }
.pricing.col-4 .price.featured { width: 28%; }
.pricing.col-5 .price { width: 19%; }
.pricing.col-5 .price.featured { width: 24%; }
.pricing .price {
position: relative;
float: left;
text-align: center;
color: #444;
height: 250px;
border: 1px solid #444;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
background: #f0f0f0;
z-index: 5;
border-right: 0;
padding: 10px 0;
font-family: sans-serif;
}
.pricing .price.featured {
height: 300px;
margin-top: -25px;
background: #fff;
z-index: 10;
border-right: 1px solid #444;
margin-right: -1px;
}
.pricing .price:last-child {
border-right: 1px solid #444;
}
.pricing .price-inner {
}
.pricing h2 {
font-size: 34px;
margin-bottom: 10px;
}
.pricing h3 {
font-size: 26px;
margin-bottom: 10px;
}
.pricing .description {
border-top: 1px solid #ccc;
padding: 10px;
}
.pricing .button {
display: inline-block;
position: absolute;
bottom: 10px;
left: 10%;
right: 10%;
text-decoration: none;
color: #fff;
background: #77b753;
border-radius: 5px;
padding: 5px;
border: 1px solid #6ea94c;
-moz-box-shadow: 1px 0 2px #6ea94c;
-webkit-box-shadow: 1px 0 2px ##6ea94c;
box-shadow: 1px 0 2px #6ea94c;
}
.pricing .featured .button {
bottom: 25px;
padding: 10px;
font-weight: bold;
}
.pricing .button:hover {
background: #83c95b;
}