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

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

              
                <!-- #### PRICING TABLE - BOOTSTRAP #### -->
  
  <head> 
     
    <!-- #### Bootstrap CSS #### -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
    
    <!-- #### Google Fonts #### -->
    <link href="https://fonts.googleapis.com/css?family=Raleway:100" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Josefin+Sans:600" rel="stylesheet">

    <!-- #### Font Awesome #### -->
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css">
    
    <!-- #### JavaScript #### -->
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
  
  </head>

<section class="bg-light text-center p-5">

      <div class="container-fluid">
        
        <!-- Tittle -->
        <div class="row text-muted text-center">
            <div class="col m-4">
              <h1 class="mb-4 text-uppercase title"> Pricing Table - Boostrap - Background Image </h1>
              
            </div>
        </div>
        <!-- End of Tittle -->  


          <div class="row align-items-center">

            <div class="col-lg-4">
              <div class="card card-1 text-light py-4 my-4 mx-auto">
                <div class="card-body">
                  <h5 class="text-uppercase font-weight-bold mb-5"> Monthly Membership </h5>
                  <h1 class="text-uppercase price"> € 19 </h1>
                  <ul class="list-unstyled">
                    <li class="text-uppercase py-3 card-list-item"> Photoshop </li>
                    <li class="text-uppercase py-3 card-list-item"> After Effects </li>
                    <li class="text-uppercase py-3 card-list-item"> Graphic Design </li>
                    <li class="text-uppercase py-3 card-list-item border-0"> Video Montage </li>
                  </ul>
                  <a href="#" class="btn p-2 text-uppercase font-weight-bold price-card-button text-light"> sign-up! </a>
                </div>
              </div>
            </div>

            <div class="col-lg-4">
                <div class="card card-2 text-light py-4 my-4 mx-auto">
                  <div class="card-body">
                    <h5 class="text-uppercase font-weight-bold mb-5"> Unlimited Access </h5>
                    <h1 class="text-uppercase price"> € 499 </h1>
                    <ul class="list-unstyled">
                      <li class="text-uppercase py-3 card-list-item"> Photoshop </li>
                      <li class="text-uppercase py-3 card-list-item"> After Effects </li>
                      <li class="text-uppercase py-3 card-list-item"> Graphic Design </li>
                      <li class="text-uppercase py-3 card-list-item"> Video Montage </li>
                      <li class="text-uppercase py-3 card-list-item border-0"> Clip Making </li>
                    </ul>
                    <a href="#" class="btn p-2 text-uppercase font-weight-bold price-card-button text-light"> sign-up! </a>
                  </div>
                </div>
              </div>

              <div class="col-lg-4">
                  <div class="card card-3 text-light py-4 my-4 mx-auto">
                    <div class="card-body">
                      <h5 class="text-uppercase font-weight-bold mb-5"> Annual Membership </h5>
                      <h1 class="text-uppercase price"> € 119 </h1>
                      <ul class="list-unstyled">
                        <li class="text-uppercase py-3 card-list-item"> Photoshop </li>
                        <li class="text-uppercase py-3 card-list-item"> After Effects </li>
                        <li class="text-uppercase py-3 card-list-item"> Graphic Design </li>
                        <li class="text-uppercase py-3 card-list-item border-0"> Video Montage </li>
                      </ul>
                      <a href="#" class="btn p-2 text-uppercase font-weight-bold price-card-button text-light"> sign-up! </a>
                    </div>
                  </div>
                </div>

          </div>
          
      </div>

    </section>



              
            
!

CSS

              
                .title {
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
}

.card-1, .card-2, .card-3 {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .5)), url(https://images.pexels.com/photos/589840/pexels-photo-589840.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260) center no-repeat /cover;
    box-shadow: 7px 18px 50px #555;
    max-width: 400px;
}

.card-1, .card-2, .card-3 {
  font-family: 'Raleway', sans-serif;
  letter-spacing: 2px;
}

.price {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 60px
}

.card-list-item {
    border-bottom: 1px groove #eee;
    width: 55%;
    margin: auto;
}

.price-card-button {
    background: #f5593d;
    width: 130px;
    border-radius: 0;
    box-shadow: 5px 8px 18px #000;
    transition: .2s;
}

.price-card-button:hover {
    background: #f9793d;
    transform: translateY(-2px);
}

.card-1 {
    transition: transform .5s;
    animation-name: moveFromLeft;
    animation-duration: 2s;
}

.card-1:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.card-3 {
  transition: transform .5s;
  animation-name: moveFromRight;
  animation-duration: 2s;
}

.card-3:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.card-2 {
    transition: transform .5s;
    animation-name: moveFromBottom;
    animation-duration: 2s;
}

.card-2:hover {
    transform: scale(1.1);
    cursor: pointer;
}

@keyframes moveFromLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes moveFromRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes moveFromBottom {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
              
            
!

JS

              
                
              
            
!
999px

Console