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

              
                <div class="container">
  <div class="pricing__table">
      <div class="icon type-01">
        <span class="fa fa-paper-plane" aria-hidden="true">
        </span>
      </div>
      <h3 class="heading">standard</h3>
      <h1 class="service__price">
        25
        <sup class="dollar__sign">$</sup>
      </h1>
      <ul class="features__list">
        <li>
          <i class="fa fa-check" aria-hidden="true">
          </i>
          10 GB space
        </li>
        <li>
          <i class="fa fa-check" aria-hidden="true">
          </i>
          3 domains names 
        </li>
        <li>
          <i class="fa fa-check" aria-hidden="true">
          </i>
          20 emails address
        </li>
        <li>
          <i class="fa fa-times" aria-hidden="true"></i>
          live support
        </li>
      </ul>
    <button class="order__button">
      order now 
    </button>
  </div>
  
  
  <div class="pricing__table">
     <div class="icon type-02">
       <span class="fa fa-plane" aria-hidden="true">
       </span>
     </div>
      <h3 class="heading">premium</h3>
      <h1 class="service__price">
        50
        <sup class="dollar__sign">$</sup>
      </h1>
      <ul class="features__list">
        <li>
          <i class="fa fa-check" aria-hidden="true">
          </i>
          50 GB space
        </li>
        <li>
          <i class="fa fa-check" aria-hidden="true">
          </i>
          5 domains names 
        </li>
        <li>
          <i class="fa fa-check" aria-hidden="true">
          </i>
          50 emails address
        </li>
        <li>
          <i class="fa fa-check" aria-hidden="true"></i>
          live support
        </li>
      </ul>
      <button class="order__button">
      order now 
    </button>
  </div>
  
  <div class="pricing__table">
     <div class="icon type-03">
       <span class="fa fa-rocket" aria-hidden="true">
       </span>
     </div> 
      <h3 class="heading">ultimate</h3>
      <h1 class="service__price">
        100
        <sup class="dollar__sign">$</sup>
      </h1>
      <ul class="features__list">
        <li>
          <i class="fa fa-check" aria-hidden="true">
          </i>
          Unlimited  space
        </li>
        <li>
          <i class="fa fa-check" aria-hidden="true">
          </i>
         10 domains names 
        </li>
        <li>
          <i class="fa fa-check" aria-hidden="true">
          </i>
          Unlimited emails address
        </li>
        <li>
          <i class="fa fa-check" aria-hidden="true"></i>
          live support
        </li>
      </ul>
      <button class="order__button">
      order now 
    </button>
  </div>
  
</div>
              
            
!

CSS

              
                $prefixes : ('webkit','moz','ms','o');
@mixin prefix ($property, $value){
  @each $prefix in $prefixes {
    #{'-'+$prefix+'-'+$property}:$value;
  }
  #{$property}:$value;
}

*{
  @include prefix(box-sizing,border-box);
  margin:0;
  padding:0;
}

body{
  font-family: 'Roboto', sans-serif;
}

.container{
  @include prefix(display,flex);
  @include prefix(flex-direction,row);
  @include prefix(flex-wrap,wrap);
  @include prefix(justify-content,center);
  margin-top:10%;
  margin-bottom:30%;
  .pricing__table{
    display:block;
    padding:20px;
    background:#ccc;
    overflow:hidden;
    width:300px;
    margin:10px;
    border-radius:3px;
    @include prefix(box-shadow,0px 8px 15px rgba(0,0,0,.2));
    @include prefix(transform,scale(1));
    @include prefix(transition,all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55));
    &:nth-child(1){
      background-image: linear-gradient( 135deg, #FCCF31 10%, #F55555 100%);
    }
    &:nth-child(2){
      background-image: linear-gradient( 135deg, #F761A1 10%, #8C1BAB 100%);
      
    }
    &:nth-child(3){
      background-image: linear-gradient( 135deg, #43CBFF 10%, #9708CC 100%);
    }
    &:hover{
      @include prefix(transform,scale(1.2));
      z-index:100;
    }
  }
}

.pricing__table{
  .icon{
    display:block;
    width:70px;
    height:70px;
    background:#fff;
    text-align:center;
    line-height:70px;
    font-size:2.2em;
    margin:20px auto;
    border-radius:50px;
    @include prefix(box-shadow,0px 5px 5px rgba(0,0,0,.2));
    span{
       @include prefix(transform,scale(1));
       @include prefix(transition,all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55)); 
    }
    
   }
  .type-01{
    color:#FCCF31;
  }
  .type-02{
    color:#F761A1; 
  }
  .type-03{
    color:#43CBFF;
  }
}

.heading{
  color:#fff;
  text-align:center;
  text-transform:capitalize;
  font-weight:lighter;
  padding:10px;
  font-size:1.2em;
}

.service__price{
  color:#fff;
  text-align:center; 
  font-size:3em;
  .dollar__sign{
    font-size:.6em;
    margin-left:-10px;
  }
}

.features__list{
  list-style:none;
  display:block;
  margin:20px auto;
  width:80%;
  li{
    color:#fff;
    text-align:center;
    display:block;
    text-transform:capitalize;
    font-weight:lighter;
    font-size:.9em;
    height:30px;
    line-height:30px;
  }
}

.order__button{
  border:none;
  display:block;
  width:70%;
  height:40px;
  margin:5px auto;
  border-radius:50px;
  @include prefix(box-shadow,0px 8px 15px rgba(0,0,0,.2));
  font-family: 'Roboto', sans-serif;
  text-transform:capitalize;
  color:rgba(0,0,0,.5);
  background:#fff;
  cursor:pointer;
  &:focus{
    outline:none;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console