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-fluid my-3">
  <h1 class="text-center mb-4">Bootstrap Card bordered  </h1>
  <div class="row">
    <div class="col-md-4">
      <div class="card border-primary mb-3">
        <div class="card-header">Header</div>
        <div class="card-body text-primary">
          <h5 class="card-title">Primary card title</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
        </div>
      </div><!-- /.card -->
    </div>
    <div class="col-md-4">
      <div class="card border-secondary mb-3">
        <div class="card-header">Header</div>
        <div class="card-body text-secondary">
          <h5 class="card-title">Secondary card title</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
        </div>
      </div><!-- /.card -->
    </div>
    <div class="col-md-4">
      <div class="card border-success mb-3">
        <div class="card-header">Header</div>
        <div class="card-body text-success">
          <h5 class="card-title">Success card title</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
        </div>
      </div><!-- /.card -->
    </div>
  </div><!-- /.row -->
  <div class="row">
    <div class="col-md-4">
      <div class="card border-danger mb-3  text-danger">
        <div class="card-header border-danger">Header</div>
        <div class="card-body">
          <h5 class="card-title">Danger card title</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
        </div>
      </div><!-- /.card -->
    </div>
    <div class="col-md-4">
      <div class="card border-warning text-warning mb-3">
        <div class="card-header">Header</div>
        <div class="card-body">
          <h5 class="card-title">Warning card title</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
        </div>
      </div><!-- /.card -->
    </div>
    <div class="col-md-4">
      <div class="card border-info mb-3  text-info">
        <div class="card-header">Header</div>
        <div class="card-body">
          <h5 class="card-title">Info card title</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
        </div>
      </div><!-- /.card -->
    </div>
  </div><!-- /.row -->
  <div class="row">
    <div class="col-md-4 bg-dark mb-3 mb-sm-0">
      <div class="card border-light my-3">
        <div class="card-header">Header</div>
        <div class="card-body">
          <h5 class="card-title">Light card title</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
        </div>
      </div><!-- /.card -->
    </div>
    <div class="col-md-4">
      <div class="card border-dark mb-3">
        <div class="card-header bg-dark text-light">Header .bg-dark .text-light</div>
        <div class="card-body text-dark">
          <h5 class="card-title">Dark card title</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
        </div>
      </div><!-- /.card -->
    </div>
    <div class="col-md-4">
      <div class="card mb-3">
        <div class="card-header">Header</div>
        <div class="card-body">
          <h5 class="card-title">Standart card title</h5>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
        </div>
      </div><!-- /.card -->
    </div>
  </div><!-- /.row -->
 
</div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console