Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <h3 class="title">Inspired by <a href="https://tympanus.net/Development/PricingTablesInspiration/" target="_blank">Codrops</a> - Jinpa</h3>

<div class="pricing-container">
  <div class="row">
    <div class="col-sm-3">
      <div class="pricing-table">
        <div class="tb-border"></div>
        <div class="lr-border"></div>
        <div class="pricing-inner">
           <div class="plan-name">
            <p><i class="fa fa-cog fa-fw fa-4x"></i></p>
            <small>Basic</small>
           </div>
          <div class="plan-price-container">
            <p class="plan-price">999<sup><small>$</small></sup></p>
          </div>
          <div class="plan-desc">
             <p>Unlimited Access</p>
              <p>100GB Storage</p>
            <p>Limited Customer Support</p>
            <p>Forum Access</p>
            <p>Unlimited Downloads</p>
          </div>
          <button>Choose Plan</button>
         </div>
      </div>
    </div>
    <div class="col-sm-3">
      <div class="pricing-table">
        <div class="tb-border"></div>
        <div class="lr-border"></div>
        <div class="pricing-inner">
           <div class="plan-name">
            <p><i class="fa fa-cogs fa-fw fa-4x"></i></p>
            <small>Professional</small>
           </div>
          <div class="plan-price-container">
            <p class="plan-price">1299<sup><small>$</small></sup></p>
          </div>
          <div class="plan-desc">
             <p>Unlimited Access</p>
              <p>100GB Storage</p>
            <p>Limited Customer Support</p>
            <p>Forum Access</p>
            <p>Unlimited Downloads</p>
          </div>
          <button>Choose Plan</button>
         </div>
      </div>
    </div>
    <div class="col-sm-3">
      <div class="pricing-table">
        <div class="tb-border"></div>
        <div class="lr-border"></div>
        <div class="pricing-inner">
           <div class="plan-name">
            <p><i class="fa fa-calendar fa-fw fa-4x"></i></p>
            <small>Premium</small>
           </div>
          <div class="plan-price-container">
            <p class="plan-price">1499<sup><small>$</small></sup></p>
          </div>
          <div class="plan-desc">
             <p>Unlimited Access</p>
              <p>100GB Storage</p>
            <p>Limited Customer Support</p>
            <p>Forum Access</p>
            <p>Unlimited Downloads</p>
          </div>
          <button>Choose Plan</button>
         </div>
      </div>
    </div>
    <div class="col-sm-3">
      <div class="pricing-table">
        <div class="tb-border"></div>
        <div class="lr-border"></div>
        <div class="pricing-inner">
           <div class="plan-name">
            <p><i class="fa fa-rocket fa-fw fa-4x"></i></p>
            <small>Ultra Premium</small>
           </div>
          <div class="plan-price-container">
            <p class="plan-price">999<sup><small>$</small></sup></p>
          </div>
          <div class="plan-desc">
             <p>Unlimited Access</p>
              <p>100GB Storage</p>
            <p>Limited Customer Support</p>
            <p>Forum Access</p>
            <p>Unlimited Downloads</p>
          </div>
          <button>Choose Plan</button>
         </div>
      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                $background: #efb7b7;

html {
  height: 100%;
  
  body {
    height: 100%;
    background: lighten($background, 2%);
    font-family: 'Open Sans';
    padding: 25px;
    
    .title {
      margin-bottom: 20px; 
      text-align: center;
    }
    
    .pricing-container {
      
      .pricing-table {
        position: relative;
        margin-bottom: 15px;
        
        .tb-border {
          &:before {
            content: '';
            display: block;
            height: 5px;
            top: 0;
            left: 0;
            right: 100%;
            background: darken($background, 10%);
            position: absolute;
            z-index: 1;
            transition: right 0.2s linear 0.6s;
          }
          
          &:after {
            content: '';
            display: block;
            height: 5px;
            bottom: 0;
            left: 100%;
            right: 0;
            background: darken($background, 10%);
            position: absolute;
            z-index: 1;
            transition: left 0.2s linear 0.2s;
          }
        }
        
        .lr-border {
          &:before {
            content: '';
            display: block;
            width: 5px;
            top: 100%;
            left: 0;
            bottom: 0;
            background: darken($background, 10%);
            position: absolute;
            z-index: 1;
            transition: top 0.2s linear;
          }
          
          &:after {
            content: '';
            display: block;
            width: 5px;
            top: 0;
            right: 0;
            bottom: 100%;
            background: darken($background, 10%);
            position: absolute;
            z-index: 1;
            transition: bottom 0.2s linear 0.4s;
          }
        }
        
        
        
        &:hover {
          
          .pricing-inner {
            background: darken($background, 3%);
            color: #000;
          }
          
          .plan-price {
            // color: #2ecc71;
          }
          
          .tb-border {
            &:before {
              right: 0;
              transition: right 0.2s linear;
            }
            
            &:after {
              left: 0;
              transition: left 0.2s linear 0.4s;
            }
          }
          
          .lr-border {
            &:before {
              top: 0;
              transition: top 0.2s linear 0.6s;
            }
            &:after {
              bottom: 0;
              transition: bottom 0.2s linear 0.2s;
            }
          }
          
          button {
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
            opacity: 1;
          }
        }
      }
      
      .pricing-inner {
        background: darken($background, 2%);
        text-align: center;
        color: #fff;
        -webkit-transition: background 0.4s ease-in, color 0.4s ease-in;
        
        .plan-name {
          padding: 25px 15px 0 15px;
          position: relative;
        }
          
        .plan-price-container {
          overflow: hidden;
        }
        
        .plan-price {
          font-size: 46px;
          // color: #000;
          margin: 0;
          font-weight: 800;
          //  -webkit-transition: color 0.1s ease-out;
          // transition: color 0.1s ease-out;
          // -webkit-animation: hue-rotate 10s linear infinite;
          //   animation: hue-rotate 10s linear infinite;
        }
        
        .plan-desc {
          font-size: 12px;
          margin-bottom: 15px;
          padding: 0 20px 25px;
        }
        
        button {
          font-size: 13px;
          border-radius: 0;
          border: none;
          padding: 15px 15px;
          margin: 0 15px 25px;
          background: darken($background, 10%);
          color: white;
          opacity: 0;
          -webkit-transform: translate3d(0, -15px, 0);
          transform: translate3d(0, -15px, 0);
          -webkit-transition: opacity 0.3s, transform 0.3s;
          transition: opacity 0.3s, transform 0.3s;
        }
      }
    }
  }
}


@keyframes hue-rotate {
  from {
    -webkit-filter: hue-rotate(0);
    -moz-filter: hue-rotate(0);
    -ms-filter: hue-rotate(0);
    filter: hue-rotate(0); 
  }
  to {
    -webkit-filter: hue-rotate(360deg);
    -moz-filter: hue-rotate(360deg);
    -ms-filter: hue-rotate(360deg);
    filter: hue-rotate(360deg); 
  } 
}
@keyframes moveUp {
  50% { -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }
	51% { opacity: 0; -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }
	52% { opacity: 1; -webkit-transform: translate3d(0,100%,0); transform: translate3d(0,100%,0); }
	100% { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); }
}
              
            
!

JS

              
                
              
            
!
999px

Console