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

              
                <!-- Stripe Checkout.js + HTML5 Range TEMPLATE
  By Niels Klom.-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
  <title>The Coffeehouse</title>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
  <link rel="stylesheet" href="https://cssgram-cssgram.netdna-ssl.com/cssgram.min.css">
</head>
<body>
  <nav role="navigation">
    <div class="nav-wrapper container">
      <a id="logo-container" href="#" class="brand-logo center">Give a Coffee</a>
    </div>
  </nav>

  <div id="index-banner" class="parallax-container">
    <div class="section no-pad-bot">
      <div class="container">


      </div>
    </div>
    <div class="parallax"><img src="http://www.lifeofpix.com/wp-content/uploads/2015/09/Life-of-Pix-free-stock-photos-table-coffee-heart-leeroy.jpg" class="coffee walden"></div>
  </div>


  <div class="container">
    <div class="section">

      <div class="row">
        <div class="col s12 m4">
          <div class="icon-block">
            <h2 class="center "><i class="fa fa-coffee"></i></h2>
            <h5 class="center">Great Coffee</h5>

            <p class="">Everyone deserves a great cup of Coffee sometimes! That's why we've got a great idea. You can purchase a cup of Coffee for those who aren't as blessed as 
              yourself at retail price.
            </p>
          </div>
        </div>

        <div class="col s12 m4">
          <div class="icon-block">
            <h2 class="center "><i class="fa fa-gift"></i></h2>
            <h5 class="center">Free Of Charge</h5>

            <p class="">One cup of coffee costs $1.25, and we'll add an extra cup every 5 dollars. For all you non-mathletes out there, that's 5 cups for 5 dollars.</p>
          </div>
        </div>

        <div class="col s12 m4">
          <div class="icon-block">
            <h2 class="center "><i class="fa fa-users"></i></h2>
            <h5 class="center">For Everyone</h5>

            <p class="">Coffee will be handed out at shelters, offices, schools and our stores to those that deserve it the most. Of course we'll let them know who got it for them!</p>
          </div>
        </div>
      </div>

    </div>
  </div>


  <div class="parallax-container valign-wrapper">
    <div class="section no-pad-bot">
      <div class="container">
      </div>
    </div>
    <div class="parallax"><img src="http://mmt.li/wp-content/uploads/2015/02/IMG_1462.jpg" class="coffee toaster"></div>
  </div>

  <div class="container">
    <div class="section">

      <div class="row">
        <div class="col s12 center">
          <h3><i class="fa fa-money"></i></h3>
          <h4>Made up your mind?</h4>
          <form action="#">
              <input type="checkbox" id="accept" />
              <label for="accept">By proceeding your agree to our terms, which are completely unfair and well, not very real.</label>
              <br/>
              <button class="waves-effect btn" style="margin-top: 15px;" id="launch" disabled>Let's Go</button>
          </form>
        </div>
      </div>

    </div>
  </div>


  <div class="parallax-container valign-wrapper">
    <div class="section no-pad-bot">
      <div class="container">
      </div>
    </div>
    <div class="parallax"><img src="https://mmtstock.s3.amazonaws.com/photos/IMG1026152.jpg" class="coffee earlybird"></div>
  </div>

  <footer class="page-footer">
    <div class="container">
      <div class="row">
        <div class="col s12 m9" id="demo">
          <h5 class="white-text center">Just a Demo</h5>
          <p class="grey-text text-lighten-4">Don't be disappointed, but this is just a demo for Stripe's checkout.js. You can give it a try with the test Cards.</p>
        </div>
        <div class="col s12 m3" id="demo-cards">
          <h5 class="white-text center">Demo Cards</h5>
          <ul class="white-text">
            <li><i class="fa fa-cc-visa blue-text" style="font-size: 20px"></i> 4242-4242-4242-4242</li>
            <li><i class="fa fa-cc-mastercard blue-text" style="font-size: 20px"></i> 5555-5555-5555-4444</li>
          </ul>
        </div>
      </div>
    </div>
    <div class="footer-copyright">
      <div class="container">
      Made by <a href="http://www.nielsklom.eu">Niels Klom</a> using <a class="" href="http://materializecss.com">Materialize</a>.
      </div>
    </div>
  </footer>

  <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
  <script src="http://nielsklom.eu/flight_demo/js/materialize.js"></script>
  <script src="https://flightjs.github.io/release/latest/flight.min.js"></script>
  <script src="https://checkout.stripe.com/checkout.js"></script>
  
  </body>
  
  <!--
    Images provided by:
    http://mmt.li/
    http://www.lifeofpix.com/
   -->
              
            
!

CSS

              
                
              
            
!

JS

              
                // Materialize Plugins 
$( document ).ready(function() {
    $('.parallax').parallax();
});
              
            
!
999px

Console