An effect to be applied on pricing plans is to put a features bars below the table. When a visitor hovers on one plan, the features bars are filled based on the pointed plan. This makes the pricing table more attractive and dynamic. See demo to view this script.


HTML
<!-- this script got from www.devanswer.com -->
<div class="frame"> <div class="plan basic" onclick="void(0);"> <div class="title">Basic</div> <div class="price">$5<span>per month</span></div> <div class="lines"> <div class="line" style="width: 69px;"></div> <div class="line" style="width: 59px;"></div> <div class="line" style="width: 66px;"></div> <div class="line" style="width: 46px;"></div> </div> </div> <div class="plan pro" onclick="void(0);"> <div class="title">Pro</div> <div class="price">$10<span>per month</span></div> <div class="lines"> <div class="line" style="width: 69px;"></div> <div class="line" style="width: 59px;"></div> <div class="line" style="width: 66px;"></div> <div class="line" style="width: 46px;"></div> </div> </div> <div class="plan premium" onclick="void(0);"> <div class="title">Premium</div> <div class="price">$20<span>per month</span></div> <div class="lines"> <div class="line" style="width: 69px;"></div> <div class="line" style="width: 59px;"></div> <div class="line" style="width: 66px;"></div> <div class="line" style="width: 46px;"></div> </div> </div> <div class="datas"> <div class="data users"> <div class="text"> <span class="left">5 Users</span> <span class="right">100 Users</span> </div> <div class="line"> <div class="fill"></div> </div> </div> <div class="data gb"> <div class="text"> <span class="left">20 GB</span> <span class="right">200 GB</span> </div> <div class="line"> <div class="fill"></div> </div> </div> <div class="data projects"> <div class="text"> <span class="left">1 Project</span> <span class="right">50 Projects</span> </div> <div class="line"> <div class="fill"></div> </div> </div> </div> </div> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://www.devanswer.com">Developer Code</a>

CSS
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700);
.frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  margin-top: -200px;
  margin-left: -200px;
  border-radius: 2px;
  box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background: #E9EDEF;
  color: #5E5E5E;
  font-family: 'Open Sans', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.plan {
  position: absolute;
  width: 110px;
  height: 160px;
  top: 30px;
  left: 25px;
  background: #fff;
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.plan.basic:hover ~ .datas .users .fill,
.plan.basic:hover ~ .datas .gb .fill,
.plan.basic:hover ~ .datas .projects .fill {
  -webkit-transform: scaleX(0.05) translate3d(0, 0, 0);
          transform: scaleX(0.05) translate3d(0, 0, 0);
}
.plan.pro {
  left: 145px;
}
.plan.pro:hover ~ .datas .users .fill {
  -webkit-transform: scaleX(0.3) translate3d(0, 0, 0);
          transform: scaleX(0.3) translate3d(0, 0, 0);
}
.plan.pro:hover ~ .datas .gb .fill {
  -webkit-transform: scaleX(0.7) translate3d(0, 0, 0);
          transform: scaleX(0.7) translate3d(0, 0, 0);
}
.plan.pro:hover ~ .datas .projects .fill {
  -webkit-transform: scaleX(0.5) translate3d(0, 0, 0);
          transform: scaleX(0.5) translate3d(0, 0, 0);
}
.plan.premium {
  left: 265px;
}
.plan.premium:hover ~ .datas .users .fill,
.plan.premium:hover ~ .datas .gb .fill,
.plan.premium:hover ~ .datas .projects .fill {
  -webkit-transform: scaleX(1) translate3d(0, 0, 0);
          transform: scaleX(1) translate3d(0, 0, 0);
}
.plan:hover {
  -webkit-transform: scale(1.1) translate3d(0, 0, 0);
          transform: scale(1.1) translate3d(0, 0, 0);
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.1);
}
.plan:hover .title {
  background: #27A6D2;
}
.plan:hover .price {
  color: #27A6D2;
}
.plan .title {
  height: 36px;
  text-align: center;
  background: #7DD0ED;
  color: #fff;
  font-weight: 600;
  line-height: 36px;
  font-size: 14px;
  transition: all 0.3s ease-in-out;
}
.plan .price {
  text-align: center;
  font-size: 30px;
  line-height: 30px;
  font-weight: 700;
  padding: 16px 0 17px 0;
  transition: all 0.3s ease-in-out;
}
.plan .price span {
  display: block;
  font-size: 12px;
  line-height: 12px;
  font-weight: 400;
}
.plan .line {
  height: 3px;
  background: #E4E4E4;
  margin: 0 auto 7px auto;
}

.datas {
  position: absolute;
  height: 160px;
  width: 380px;
  top: 220px;
  left: 10px;
  background: #fff;
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);
}
.datas .data {
  margin: 17px 15px 0 15px;
}
.datas .data .text {
  font-size: 12px;
  height: 20px;
}
.datas .data .text .left {
  float: left;
}
.datas .data .text .right {
  float: right;
}
.datas .data .line {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 10px;
  background: #E9EDEF;
  border-radius: 5px;
  overflow: hidden;
}
.datas .data .line .fill {
  position: relative;
  z-index: 1;
  height: 10px;
  width: 100%;
  background: #7DD0ED;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
          transform-origin: 0 50%;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}