123

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.

            
              <section class="grid-container price-tables">
  <div class="grid-x grid-margin-x grid-margin-y" >
    <div class="cell large-4 medium-12 small-12">
      <div class="pricing-table">
            <header class="pricing-header">
                <span data-tooltip class="top" tabindex="2" title="Free Basic Information."><i class="fas fa-info-circle"></i>
                </span>
                <a href="#"><p>Basic</p></a>
                <div class="price-box">
                  <p class="title">Free</p>
                </div>
            </header>
      <section class="pricing-content">
        <ul>
          <li class="bullet-item"><i class="fa fa-check available"></i> 20 GB of cloud storage</li>
          <li class="bullet-item">
            <i class="fa fa-check available"></i>Get access from 3 devices
          </li>
          <li class="bullet-item">
            <i class="fa fa-check available"></i>Share your files with up to 5 people
          </li>
          <li class="bullet-item">
            <i class="fa fa-check available"></i>Easy to setup, easier to use.
          </li>
        </ul>
      </section>
         <button type="button" class="clear button button--free">Sing up free</button>
    </div>
     </div>
    <div class="cell large-4 medium-12 small-12">
      <div class="pricing-table">
         <header class="pricing-header-plus">
              <span data-tooltip class="top" tabindex="2" title="Plus Basic Information.">
              <i class="fas fa-info-circle"></i></span>
              <a href="#"><p>Plus</p></a>
              <div class="price-box">
                <p class="title"><sup>$</sup>4,99</p>
                <p>month</p>
              </div>
         </header>
      <section class="pricing-content-plus">
        <ul>
          <li class="bullet-item"><i class="fa fa-check available"></i> Includes everthing from <a href="#"class="pricingh-basic">Basic</a>
          <li class="bullet-item"><i class="fa fa-check available"></i>200 GB of cloud storage</li>
          <li class="bullet-item"><i class="fa fa-check available"></i>Get access from all your devices</li>
          <li class="bullet-item"><i class="fa fa-check available"></i>Unlimited file and folder sharing</li>
          <li class="bullet-item"><i class="fa fa-check available"></i>Priority support</li>
        </ul>
         <button type="button" class="button button--plus">Upgrade now</button>
    </div>
    </div>
    <div class="cell large-4 medium-12 small-12">
      <div class="pricing-table">
      <header class="pricing-header-premium">
        <span data-tooltip class="top" tabindex="2" title="Premium Basic Information."><i class="fas fa-info-circle"></i></span>
        <a href="#"><p>Premium</p></a>
        <div class="price-box">
          <p class="title"><sup>$</sup>9,99</p>
          <p>month</p>
        </div>
      </header>
      <div class="pricing-content-premium">
        <ul>
          <li class="bullet-item"><i class="fa fa-check available"></i>Includes everthing from  <a href="#" class="pricingh-plus">Plus</a> </li>
          <li class="bullet-item"><i class="fa fa-check available"></i>2 TB of cloud storage</li>
          <li class="bullet-item"><i class="fa fa-check available"></i>Live collaboration with up to 25 people</li>
          <li class="bullet-item"><i class="fa fa-check available"></i>Super fast upload and download</li>
          <li class="bullet-item"><i class="fa fa-check available"></i>Finder extension for your Mac</li>
        </ul>
      <button type="button" class="button button--premium">Go Premium</button>
      </div>
    </div>
     </div>
</section>
            
          
!
            
              $basic-color: #E8B47B ;
$plus-color: #7FC4CB;
$premium-color: #4979B9;
.price-tables{
  margin-top: 50px;
}

@mixin check {
  border-radius: 25px;
  color: white;
  font-size: 11px;
  padding: 3px;
  margin-right: 1rem;
}

@mixin header{
  height: 200px;
  width: 100%;
  background-color: red; /* For browsers that do not support gradients */
  color: white;
  text-align: center;
  padding: 2rem;
  border-radius: 12px 12px 0px 0px;
}

li{
  list-style: none;
}

a{
  color:white;
}

.fa-info-circle{
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 15px;
}

.pricing{
   &-header{
      @include header;
  background-image: linear-gradient(#EFCA79, #E8B47B); 
   &-plus{
      @include header;
      background-image: linear-gradient(#4091E3, #92CDC7); 
  }
  &-premium{
      @include header;
       background-image: linear-gradient(#615198, #9D4CA0); 
  }
  }
    &-table {
       text-align: center;
       height: 100%;
       display: flex;
       flex-flow: column wrap;
       box-shadow: 0px 2px 10px 0px rgba(50, 50, 50, 0.5);
       transform: scale(1);
       border:0;
       background-color: white;
       transition: 0.4s ease;
       z-index:13;
       border-radius: 20px;
          &:hover{
            transform: scale(1.1);
            z-index:95;
             @media screen and (max-width: 40em){
          transform: scale(1);
        }
             @media only screen and (min-width: 40.063em) and (max-width: 64em) {  
          transform: scale(1);
      }
        }  
       }
      &-content {
      padding-top: 1.5rem;
        .fa-check{
          background-color: $basic-color;
          @include check;
        }
        &-plus{
          margin-top: 30px;
          .fa-check{
            background-color: $plus-color;
            @include check;
        }
        }
        &-premium{
            margin-top: 30px;
          .fa-check{
              background-color: $premium-color;
              @include check;
          }
        }
        }
}

.pricingh{
  &-basic{
  color: $basic-color; }
  &-plus{
    color: $premium-color;
}
}

.bullet-item{
  padding: 0.3rem;
  text-align: left;
  padding-left: 2rem;
  color: black;
  font-weight: 500;
}

.title{
  font-size: 40px;
}

.button{
  font-size: 0.8rem;
  padding: 1rem 3rem 1rem 3rem;
  font-weight: 700;
  border-radius: 23px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  margin-bottom: 1rem;
}

.button--free{
  border: 3.5px solid $basic-color !important;
  border-color: $basic-color;
  color: black !important; //in the real world you would chnage the variable $button-color or from $button-palette in the foundation settings
  background-color: #fff;
  &:hover{
    box-shadow: 0 0 1em 0.5em $basic-color;
  }
}

.button--plus{
  background-color: $plus-color !important;
  border: 2px solid $plus-color;
  border-color: $plus-color;
   &:hover{
    box-shadow: 0 0 1em 0.5em $plus-color;
    background-color: #5ec5cf !important; // Basically I would just do this for the rest of the buttons take the current color and darken it, but for free-background color well, it dose not look right I belive an box shadow is a bit more elegant :)
     
  }
}

.button--premium{
  background-color: $premium-color;
  border: 2px solid $premium-color;
  border-color: $premium-color;
    &:hover{
    box-shadow: 0 0 1em 0.5em $premium-color;
    background-color: $premium-color;
    color:white;
  }
}

            
          
!
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.

Console