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

              
                <div class='container text-center'> 
  <div class="simpl-btn">
     <h3 class="text-center">Buttons</h3>
     <button class="btn btn-primary">Button primary</button>
    <button class="btn btn-default">Button default</button>
    <button class="btn btn-danger">Button danger</button>
    <button class="btn btn-info">Button info</button>
    <button class="btn btn-warning">Button warning</button>
    <button class="btn btn-dark">Button dark</button>
    <button class="btn btn-success">Button success</button>
  </div>
  <br></br></br>

<div class="secondary-btn">
  <h3 class="text-center">Buttons outline</h3>
     <button class="btn btn-outline-primary">Button primary</button>
    <button class="btn btn-outline-secondary">Button default</button>
    <button class="btn btn-outline-danger">Button danger</button>
    <button class="btn btn-outline-info">Button info</button>
    <button class="btn btn-outline-warning">Button warning</button>
    <button class="btn btn-outline-dark">Button dark</button>
    <button class="btn btn-outline-success">Button success</button>
    
 <br></br></br>
</div>

  <h3 class="text-center">Buttons Group</h3>
    <div class="btn-group" role="group" aria-label="Basic example">
      <button class="btn btn-primary">Button1</button>
      <button class="btn btn-primary">Button2</button>
      <button class="btn btn-primary">Button 3</button>
      <button class="btn btn-primary">Button 4</button>
      <button class="btn btn-primary">Button 5</button>
      <button class="btn btn-primary">Button 6</button>
      <button class="btn btn-primary">Button 7</button>
    </div>

<div class="btn-size">
    <h3 class="text-center">Buttons'Size</h3>
<!--     // button large -->
<button class="btn btn-primary btn-lg">button large</button>
<!-- // small button -->
<button class="btn btn-danger btn-sm">small button</button>
<!-- // button block -->
<button class="btn btn-success btn-block">button block</button>
</div>  
  <div>


              
            
!

CSS

              
                .simple-btn button,
.btn-size,
.secondary-btn button{
  margin:10px;
}
              
            
!

JS

              
                
              
            
!
999px

Console