Pen Settings

HTML

CSS

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

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

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.

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

              
                <div class="container flex flex-column">
  <h3>Select your plan</h3>
  <p>You can cancel your plan anytime!</p>
  <div class="row justify-content-center">
    <div class="phi-col-8">
      <div class="pricing-container pricing-container-standard flex flex-column align-items-center">
        <div class="plan-type">
          <div class="plan">Standard</div>
          <div class="price-section">
            <strong class="price">₹ 99</strong>
            <span>/ month</span>
          </div>
        </div>
        <div class="plan-info">
          <div class="checklist flex flex-column">
            <span class="checklist-item">2 TB of storage</span>
            <span class="checklist-item">1 User</span>
            <span class="checklist-item">24 hrs support</span>
          </div>
        </div>
        <div>
          <button class="button button-error">Get started</button>
        </div>
      </div>
    </div>
    <div class="phi-col-8">
      <div class="pricing-container pricing-container-professional flex flex-column align-items-center">
        <div class="plan-type">
          <div class="plan">Professional</div>
          <div class="price-section">
            <strong class="price">₹ 129</strong>
            <span>/ month</span>
          </div>
        </div>
        <div class="plan-info">
          <div class="checklist flex flex-column">
            <span class="checklist-item">5 TB of storage</span>
            <span class="checklist-item">10 Users</span>
            <span class="checklist-item">Everything in Standard</span>
          </div>
        </div>
        <div>
          <button class="button button-warning">Get started</button>
        </div>
      </div>
    </div>
    <div class="phi-col-8">
      <div class="pricing-container pricing-container-enterprise flex flex-column align-items-center">
        <div class="plan-type">
          <div class="plan">Enterprise</div>
          <div class="price-section">
            <strong class="price">₹ 149</strong>
            <span>/ month</span>
          </div>
        </div>
        <div class="plan-info">
          <div class="checklist flex flex-column">
            <span class="checklist-item">10 TB of storage</span>
            <span class="checklist-item">100 Users</span>
            <span class="checklist-item">Everything in Premium</span>
          </div>
        </div>
        <div>
          <button class="button button-success">Get started</button>
        </div>
      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                body {
  background: var(--dark);
}

.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pricing-container {
  padding: var(--rem-mul-phi);
  background: var(--light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  min-width: 300px;
}

h4, h3 {
  text-align: center;
}

h3, p {
  color: var(--light)
}

.price-section {
  margin-top: var(--rem-mul-phi);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.price {
  font-size: 2.5rem;
}

.pricing-container:hover {
  transform: scale(1.1);
  cursor: pointer;
  box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034),
		0 6.7px 5.3px rgba(0, 0, 0, 0.048),
		0 12.5px 10px rgba(0, 0, 0, 0.06),
		0 22.3px 17.9px rgba(0, 0, 0, 0.072),
		0 41.8px 33.4px rgba(0, 0, 0, 0.086),
		0 100px 80px rgba(0, 0, 0, 0.12);
}

.pricing-container-enterprise > .plan-type {
  color: var(--success-shade);
}

.pricing-container-professional > .plan-type {
  color: var(--warning-shade);
}

.pricing-container-standard > .plan-type {
  color: var(--error-shade);
}

.pricing-container:after, .pricing-container:before {
  content: '';
  width: 150%;
  height: 70%;
  background: var(--accent);
  position: absolute;
  left: -42%;
  top: -30%;
  border-radius: 50%;
  z-index: 0;
}

.pricing-container:before {
  left: -33%;
  top: -27%;
}

.plan-type, .plan-info {
  z-index: 2;
}

.plan-info {
  margin-top: calc(var(--rem-mul-phi) * 3);
}

.plan-type .plan {
  text-align: center;
  font-weight: bold;
}

.pricing-container-standard:before {
  background: var(--error-tint);
}

.pricing-container-standard:after {
  background: var(--error);
}

.pricing-container-professional:before {
  background: var(--warning-tint);
}

.pricing-container-professional:after {
  background: var(--warning);
}

.pricing-container-enterprise:before {
  background: var(--success-tint);
}

.pricing-container-enterprise:after {
  background: var(--success);
}

.checklist-item {
  position: relative;
  margin-left: var(--rem-mul-phi);
}

.checklist {
  min-height: 120px;
  width: 170px;
}

.checklist-item:before {
  content: '-';
  position: absolute;
  left: -20px;
}

@media only screen and (max-width: 765px) {
  .container {
    max-width: 360px;
    margin: 0 auto;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console