Pen Settings



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


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


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.


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.


                <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <a class="navbar-brand" href="#">
            <span class="glyphicon glyphicon-fire"></span> Cool Project
        <ul class="nav navbar-nav">
          <li class="active"><a href="#">Home</a></li>
          <li><a href="#about">About</a></li>
          <li><a href="#contact">Contact</a></li>
      </div><!-- .container -->
 </div><!-- .navbar -->

<div class="container">
      <div class="starter-template">
        <h1>Bootstrap starter template</h1>
        <p class="lead">Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p>
      <div class="row">
        <div class="col-sm-8">
          <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam molestie, nisi at feugiat consequat, libero est hendrerit velit, vel interdum neque augue ac neque. Donec varius velit sed tellus egestas consectetur. Vivamus et tincidunt odio. Aenean non urna in ipsum pretium tempor ornare quis felis. Suspendisse sapien tellus, finibus et lobortis non, vulputate sed tellus. Duis vehicula, est quis porttitor vulputate, justo eros tempus sem, a interdum ante urna sit amet ex. Nam condimentum lectus a nisi molestie aliquet. Nam cursus aliquet sapien a tincidunt. Suspendisse hendrerit venenatis neque, at vulputate est facilisis vel. Nulla rhoncus, felis at volutpat fringilla, mi erat gravida libero, eget laoreet ligula erat sit amet eros. Sed rutrum nibh eu mauris accumsan, ut fringilla ipsum fermentum. Aenean fringilla pulvinar leo ac dapibus. Ut lacus nibh, faucibus ut lacus sed, malesuada aliquet odio. Duis pharetra in magna vehicula faucibus. Suspendisse in ornare est, et porttitor lorem.</p>
        <div class="col-sm-4">
          <div class="panel panel-default">
            <div class="panel-heading">
              <h3 class="panel-title">Sidebar</h3>
            <div class="panel-body">
                <li><a href="#">A Link</a></li>
                <li><a href="#">Another link</a></li>
 </div><!-- /.container -->


                body { padding-top: 50px; }