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

              
                <body class="hm-gradient">
    
    <main>
        
        <!--MDB Animations-->
        <div class="container mt-4">

            <div class="text-center darken-grey-text mb-4">
                <h1 class="font-bold mt-4 mb-3 h5">Built with Material Design for Bootstrap 4</h1>
                <a class="btn btn-danger btn-md" href="https://mdbootstrap.com/material-design-for-bootstrap/" target="_blank">Free download<i class="fa fa-download pl-2"></i></a>
            </div>

            <!--Section: Live preview-->
            <section>

                <div class="row mb-4 d-flex flex-column">

                    <div class="col-md-4 mb-4 mx-auto">
                        <img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20(121).jpg" alt="A view on mountains." class="img-fluid z-depth-1 wow bounceIn">
                    </div>

                    <div class="col-md-4 mb-4 mx-auto">
                        <img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20(115).jpg" alt="Cottage on a lake surrounded by mountains." class="img-fluid z-depth-1 wow tada" data-wow-delay="0.2s">
                    </div>

                    <div class="col-md-4 mb-4 mx-auto">
                        <img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20(122).jpg" alt="Cyclist riding down the mountain path." class="img-fluid z-depth-1 wow fadeInLeft" data-wow-delay="0.3s">
                    </div>

                    <div class="col-md-4 mb-4 mx-auto">
                        <img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20(1).jpg" alt="View on mountains from mountain top." class="img-fluid z-depth-1 wow fadeInRight">
                    </div>

                    <div class="col-md-4 mb-4 mx-auto">
                        <img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20(2).jpg" alt="Rocky shore in the morning." class="img-fluid z-depth-1 wow jello">
                    </div>

                    <div class="col-md-4 mb-4 mx-auto">
                        <img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20(7).jpg" alt="Rocky shore in the morning." class="img-fluid z-depth-1 wow swing">
                    </div>

                    <div class="col-md-4 mb-4 mx-auto">
                        <img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20(32).jpg" alt="View on mountains from mountain top." class="img-fluid z-depth-1 wow wobble">
                    </div>

                    <div class="col-md-4 mb-4 mx-auto">
                        <img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20(31).jpg" alt="Rocky shore in the morning." class="img-fluid z-depth-1 wow zoomIn">
                    </div>

                    <div class="col-md-4 mx-auto">
                        <img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20(125).jpg" alt="Rocky shore in the morning." class="img-fluid z-depth-1 wow flipInX">
                    </div>

                </div>

            </section>
            <!--Section: Live preview-->
          
            <hr class="my-4">
          
            <div class="text-center darken-grey-text mb-4">
                <h3 class="font-bold mb-3">Here you can find more Animations:</h3>
                <a class="btn btn-danger" href="https://mdbootstrap.com/css/animations/" target="_blank">Bootstrap Animations</a>
            </div>

        </div>
        <!--MDB Animations-->
      
    </main>
  
</body>
              
            
!

CSS

              
                .hm-gradient {
    background-image: linear-gradient(to top, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
}
.darken-grey-text {
    color: #2E2E2E;
}
              
            
!

JS

              
                new WOW().init();
              
            
!
999px

Console