Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <nav class="navbar navbar-dark sticky-top bg-custom-2">
  <div class="container">
    <a class="navbar-brand" href="#a">BootstrapBay</a>
  </div>
</nav>

<div class="container main-page">
  <p>
  Building websites for several years has given us an appreciation for the time and effort it takes to create beautiful work. We also understand the value of using themes & templates to kickstart the design & development process.
  </p>
  <p>
We love Bootstrap. It's easy to learn, customize, and great for rapid development of responsive websites. Whether you're a seasoned developer/designer or someone learning the basics of web design and development, Bootstrap is great way to get started with all of its out-of-the-box components.
  </p>
  <p>
Bootstrap has come a long way and we wanted to create an amazing marketplace for Bootstrap enthusiasts like ourselves.
  </p>
</div>
              
            
!

CSS

              
                .bg-custom-1 {
  background-color: #85144b;
}

.bg-custom-2 {
background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
}
.main-page {
  margin-top: 1rem;
}
              
            
!

JS

              
                
              
            
!
999px

Console