Responsive Pricing Table HTML & CSS Snippets

Responsive Pricing Table HTML & CSS Snippets

by Osama Qassar

HTML

<div class="snip1240">
  <div class="plan">
    <header>
      <h3 class="plan-title">
        Starter
      </h3>
      <div class="plan-cost"><span class="plan-price">$19</span><span class="plan-type">/mo</span></div>
    </header>
    <ul class="plan-features">
      <li>5GB Linux Web Space
      </li>
      <li>5 MySQL Databases
      </li>
      <li>Unlimited Email
      </li>
      <li>250Gb mo Transfer
      </li>
      <li>24/7 Tech Support
      </li>
      <li>Daily Backups
      </li>
    </ul>
    <div class="plan-select"><a href="">Select Plan</a></div>
  </div>
  <div class="plan">
    <header>
      <h3 class="plan-title">
        Basic
      </h3>
      <div class="plan-cost"><span class="plan-price">$29</span><span class="plan-type">/mo</span></div>
    </header>
    <ul class="plan-features">
      <li>10GB Linux Web Space
      </li>
      <li>10 MySQL Databases
      </li>
      <li>Unlimited Email
      </li>
      <li>500Gb mo Transfer
      </li>
      <li>24/7 Tech Support
      </li>
      <li>Daily Backups
      </li>
    </ul>
    <div class="plan-select"><a href="">Select Plan</a></div>
  </div>
  <div class="plan featured">
    <header>
      <h3 class="plan-title">
        Professional
      </h3>
      <div class="plan-cost"><span class="plan-price">$49</span><span class="plan-type">/mo</span></div>
    </header>
    <ul class="plan-features">
      <li>25GB Linux Web Space
      </li>
      <li>25 MySQL Databases
      </li>
      <li>Unlimited Email
      </li>
      <li>2000Gb mo Transfer
      </li>
      <li>24/7 Tech Support
      </li>
      <li>Daily Backups
      </li>
    </ul>
    <div class="plan-select"><a href="">Select Plan</a></div>
  </div>
  <div class="plan">
    <header>
      <h3 class="plan-title">
        Ultra
      </h3>
      <div class="plan-cost"><span class="plan-price">$99</span><span class="plan-type">/mo</span></div>
    </header>
    <ul class="plan-features">
      <li>100GB Linux Web Space
     ...

CSS

@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,800);
@import url(https://fonts.googleapis.com/css?family=Montserrat:800);
.snip1240 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #000000;
  text-align: center;
  font-size: 16px;
  width: 100%;
  max-width: 1000px;
  margin: 50px 10px;
}
.snip1240 .plan {
  margin: 0;
  width: 25%;
  position: relative;
  float: left;
  background-color: #ffffff;
  border: 1px solid #07151f;
}
.snip1240 .plan:hover .plan-cost,
.snip1240 .plan.hover .plan-cost {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.snip1240 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
.snip1240 header {
  position: relative;
  background-color: #0d293c;
  color: #ffffff;
  padding: 20px 20px;
}
.snip1240 .plan-title {
  top: 0;
  font-size: 1.4em;
  font-weight: 500;
  padding-bottom: 10px;
  margin: 0;
  text-transform: uppercase;
}
.snip1240 .plan-cost {
  background-color: #123851;
  border-radius: 50%;
  text-align: center;
  line-height: 90px;
  width: 90px;
  height: 90px;
  margin: 0 auto;
}
.snip1240 .plan-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.3em;
  color: #ffffff;
}
.snip1240 .plan-type {
  opacity: 0.8;
  color: #ffffff;
  font-size: 0.7em;
}
.snip1240 .plan-features {
  padding: 0;
  margin: 0;
  text-align: center;
  list-style: outside none none;
  font-size: 0.8em;
}
.snip1240 .plan-features li {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding: 10px 5%;
}
.snip1240 .plan-features li:nth-child(even) {
  background: rgba(0, 0, 0, 0.08);
}
.snip1240 .plan-features i {
  margin-right: 8px;
  opacity: 0.4;
}
.snip1240 .plan-select {
  background-color: #091b27;
}
.snip1240 .plan-select a {
  color: #ffffff;
  text-decoration: none;
  padding: 20px;
  width: 100%;
 ...