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="row">
    <div class="col-md-offset-3 col-md-6">
      <div class="panel panel-default bootcards-file">
        <div class="panel-heading">
          <h3 class="panel-title">Download Ebook</h3>
        </div>
        <div class="list-group">
          <div class="list-group-item">
            <a href="#">
              <i class="icon-file-pdf"></i>
            </a>
            <h4 class="list-group-item-heading">
					    <a href="#">
					      Bootcards, a Card-based UI
					    </a>
					    </h4>
            <p class="list-group-item-text"><strong>PDF</strong></p>
            <p class="list-group-item-text"><strong>1.5MB</strong></p>
          </div>
          <div class="list-group-item">
            <p class="list-group-item-text">This ebook covers the basics of creating a card-based UI with Bootcards. Bootcards is based on Bootstrap. It includes stylesheets to give your apps a native look, whether that's on iOS, Android or desktop.    </p>
          </div>
        </div>
        <div class="panel-footer">
          <div class="btn-group btn-group-justified">
            <div class="btn-group">
              <button class="btn btn-default">
					      <i class="fa fa-arrow-down"></i>
					      Download
					    </button>
            </div>
            <div class="btn-group">
              <button class="btn btn-default">
					      <i class="fa fa-star"></i>
					      Save
					    </button>
            </div>
            <div class="btn-group">
              <button class="btn btn-default">
					      <i class="fa fa-envelope"></i>
					      Email
					    </button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                body {
  padding-top: 1.5em;
}
              
            
!

JS

              
                
              
            
!
999px

Console