css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="container">
  <div class="row">
    <div class="col-md-12">

      <div class="pricing-table">
        
          
        <div class="pricing-table-col">
          <h3 class="pricing-table-title">Basic Plan</h3>
          <div class="pricing-table-price">
            <span class="currency">$</span>
            <span class="price">125</span>
            <span class="terms">/mo</span>
          </div>
          <div class="pricing-table-description">
          Learn projects with access to 1000+ videos
Practice live with our Code Challenge Engine
Get help in our members-only forums
          </div>
          <div class="action">
          <a href="" class="btn btn-lg btn-success">Sign Up Now</a>
          </div>
        </div><!--
        
        --><div class="pricing-table-col highlight">
          <h3 class="pricing-table-title">Basic Plan</h3>
          <div class="pricing-table-price">
            <span class="currency">$</span>
            <span class="price">125</span>
            <span class="terms">/mo</span>
          </div>
          <div class="pricing-table-description">
          Learn projects with access to 1000+ videos
Practice live with our Code Challenge Engine
Get help in our members-only forums
          </div>
          <div class="action">
          <a href="" class="btn btn-lg btn-success">Sign Up Now</a>
          </div>
        </div><div class="pricing-table-col">
          <h3 class="pricing-table-title">Basic Plan</h3>
          <div class="pricing-table-price">
            <span class="currency">$</span>
            <span class="price">125</span>
            <span class="terms">/mo</span>
          </div>
          <div class="pricing-table-description">
          Learn projects with access to 1000+ videos
Practice live with our Code Challenge Engine
Get help in our members-only forums
          </div>
          <div class="action">
          <a href="" class="btn btn-lg btn-success">Sign Up Now</a>
          </div>
        </div>
    
        
        
      </div>


    </div>
  </div>
</div>
            
          
!
            
              $color0: #ffffff;
$color1: #ffc000;
$color2: #575756;
$color3: #222222;
$color4: #eeeeee;
$color5: #cacaca;
$color6: #cccccc;

$default-title-color: #222222;
$default-content-color: #575756;
$link-color: $color1;
$button-radius: 3px;
$form-radius: 3px;
$scale1200: 87.5;

body{
  margin-top: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: $default-content-color;
}

/*
---------------------------------------------
*/
.pricing-table{
  text-align: center;
  
  .pricing-table-col{
    border-radius: 6px;
    margin-top: 20px;
    vertical-align: top;
    min-height: 400px;
    width: 380px;
    border: 2px solid $color1;
    display: inline-block;
    padding: 20px 20px 40px 20px;
    transition: all 0.2s ease-out;
  
  +.pricing-table-col{
    margin-left: -2px;
    }
        
    .pricing-table-title{
      font-size: 20px;
      font-weight: 600;
      margin: 40px auto 60px auto;
    }
        
    .pricing-table-price{
      color: $color1;
      margin: 30px auto;
      line-height: 28px;
  
      
      .currency{
        vertical-align: top;
        font-size: 24px;
       
      }
      
      .price{
        font-size: 100px;
        font-weight: bold;
      }
      
      .terms{
        font-size: 24px;
      }
    }
    
    .pricing-table-description{
      margin: 40px 0;
    }
    
    &.highlight{
      padding: 40px 20px 60px 20px;
      margin-top: 0;
      background-color: $color1;
      color: $default-title-color;
      .pricing-table-price{color: $color0;}
      
    }
}
  
}



/* Large devices (desktops, 1200px and up)*/
//////////////////////////////////////////////////////////////////////////
@media (max-width: 1200px) {
  .pricing-table{
    font-size: 16px / 100 * $scale1200;
  
  .pricing-table-col{
    //border-radius: 6px;
    margin-top: 20px / 100 * $scale1200;
    vertical-align: top;
    //min-height: 380px;
    width: 313px;
   // border: 2px solid $color1;
    //display: inline-block;
    padding: 10px 20px 40px 20px;
  
  +.pricing-table-col{
    margin-left: -2px;
    }
        
    .pricing-table-title{
      font-size: 20px / 100 * $scale1200;
      font-weight: 600;
      margin: 40px auto 60px auto;
    }
        
    .pricing-table-price{
      color: $color1;
      margin: 30px auto;
      line-height: 28px;
  
      
      .currency{
        vertical-align: top;
        font-size: 24px / 100 * $scale1200;
       
      }
      
      .price{
        font-size: 100px / 100 * $scale1200;
        font-weight: bold;
      }
      
      .terms{
        font-size: 24px / 100 * $scale1200;
      }
    }
    
    .pricing-table-description{
      margin: 40px 0;
    }
    
    &.highlight{
      padding: 30px 20px 60px 20px;
        margin-top: 0;
      background-color: $color1;
      color: $default-title-color;
      .pricing-table-price{color: $color0;}
      
    }
}
  
}
}

/* Medium devices (desktops, 992px and down) */
//////////////////////////////////////////////////////////////////////////
@media (max-width: 992px) {
  .pricing-table{
  
  .pricing-table-col{
    display: block;
    margin: 0 auto 20px;
    width: 80%;
    +.pricing-table-col{
    margin-left: auto;
    }
        
    }
  }
}

/* Small devices (768px and down) */
//////////////////////////////////////////////////////////////////////////
@media (max-width: 768px) {
  
}

/* Extra Small devices (480px and down) */
//////////////////////////////////////////////////////////////////////////
@media (max-width: 480px) {
  
}
            
          
!
            
              $(".pricing-table-col").on("mouseover", function () {
  
  var animation = 'swing';
  
   $(".pricing-table-col").removeClass("highlight");
   $(".pricing-table-col .action").removeClass("animated "+animation);
   $(this).addClass("highlight")
   $(this).find(".action").addClass("animated "+animation);
});
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console